Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Interaction1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008605/0.0008605, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003621/0.003621, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8784/0.8784, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.856e-05, allocations: 3.547 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003614/0.003643, allocations: 2.435 MB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.006633, allocations: 1.861 MB / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.00687, allocations: 7.938 kB / 330.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.008011, allocations: 0.5607 MB / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008611/0.008872, allocations: 0.5058 MB / 331.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.01043, allocations: 0.5581 MB / 331.7 MB, free: 9.438 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000939/0.01137, allocations: 0.8258 MB / 332.5 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.01156, allocations: 61.95 kB / 332.6 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004939/0.01205, allocations: 450.9 kB / 333 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.01247, allocations: 355.1 kB / 333.4 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.01253, allocations: 44 kB / 333.4 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004231/0.01295, allocations: 235.6 kB / 333.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.01316, allocations: 223.3 kB / 333.9 MB, free: 7.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.01334, allocations: 175.4 kB / 334 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009869/0.01433, allocations: 0.9151 MB / 334.9 MB, free: 6.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.01433, allocations: 0 / 334.9 MB, free: 6.176 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01433, allocations: 0 / 334.9 MB, free: 6.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.01434, allocations: 0 / 334.9 MB, free: 6.176 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001817/0.01616, allocations: 1.162 MB / 336.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.0162, allocations: 15.98 kB / 336.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.01631, allocations: 84.42 kB / 336.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009198/0.01723, allocations: 0.5474 MB / 336.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.01726, allocations: 16.38 kB / 336.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.01729, allocations: 32.34 kB / 336.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.01791, allocations: 443.2 kB / 337.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01792, allocations: 192 / 337.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.01794, allocations: 8.375 kB / 337.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.01797, allocations: 11.94 kB / 337.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.01825, allocations: 284.8 kB / 337.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01931, allocations: 1.2 MB / 338.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.01975, allocations: 427.9 kB / 339.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.01995, allocations: 256.5 kB / 339.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.01997, allocations: 12 kB / 339.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004158/0.02038, allocations: 0.5435 MB / 340 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 2.274e-06/0.02038, allocations: 11.92 kB / 340 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009176/0.0213, allocations: 0.9533 MB / 340.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.02143, allocations: 358.1 kB / 341.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/0.02218, allocations: 0.9811 MB / 342.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.02221, allocations: 45.7 kB / 342.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.02239, allocations: 320.9 kB / 342.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.983e-05/0.02246, allocations: 111.2 kB / 342.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.5e-05/0.02255, allocations: 98.17 kB / 342.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.02263, allocations: 325.9 kB / 343.1 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.02284, allocations: 250 kB / 343.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.02314, allocations: 0.5396 MB / 343.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.02359, allocations: 0.5977 MB / 344.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.02359, allocations: 4 kB / 344.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000646/0.02424, allocations: 0.7878 MB / 345.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.56e-05/0.02429, allocations: 93.09 kB / 345.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.0243, allocations: 7.984 kB / 345.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.02432, allocations: 8 kB / 345.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.02448, allocations: 71.83 kB / 345.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.02449, allocations: 7.938 kB / 345.5 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.02464, allocations: 48.05 kB / 345.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.02467, allocations: 24 kB / 345.6 MB, free: 10.71 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition9,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition8,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition2,stop.on,$PRE.stop.on,start.reset[1],stop.reset[1],start.on,$PRE.start.on,stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[1],$whenCondition5,$whenCondition4,start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[1],$whenCondition7,$whenCondition6,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002768/0.02494, allocations: 398.8 kB / 345.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.02501, allocations: 87.48 kB / 346 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005897/0.0256, allocations: 0.6012 MB / 346.6 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.02561, allocations: 4 kB / 346.6 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.02561, allocations: 12.12 kB / 346.7 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.02562, allocations: 3.984 kB / 346.7 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/0.02633, allocations: 0.9492 MB / 347.6 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.02633, allocations: 4 kB / 347.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.505e-05/0.0264, allocations: 24.17 kB / 347.6 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.0264, allocations: 7.938 kB / 347.6 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.02643, allocations: 19.98 kB / 347.7 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.02643, allocations: 7.938 kB / 347.7 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.02643, allocations: 3.984 kB / 347.7 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.02712, allocations: 0.9208 MB / 348.6 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.02719, allocations: 83.41 kB / 348.7 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.145e-05/0.02726, allocations: 23.94 kB / 348.7 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.02738, allocations: 27.97 kB / 348.7 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.02745, allocations: 35.89 kB / 348.8 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.02748, allocations: 23.98 kB / 348.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005158/0.02799, allocations: 0.706 MB / 349.5 MB, free: 6.594 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02799, allocations: 0 / 349.5 MB, free: 6.594 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000362/0.02835, allocations: 155.8 kB / 349.6 MB, free: 6.441 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,start.reset[1],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition8,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition9,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 26 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition5,stop.on,$whenCondition4,stop.pre_reset[1],stop.reset[1],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition7,start.on,$whenCondition6,start.pre_reset[1],start.reset[1],start.table.y,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007379/0.02909, allocations: 0.5176 MB / 350.2 MB, free: 6.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006065/0.0297, allocations: 0.7582 MB / 350.9 MB, free: 5.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.0297, allocations: 4.188 kB / 350.9 MB, free: 5.227 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.03001, allocations: 479.1 kB / 351.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.03046, allocations: 177 kB / 351.6 MB, free: 4.547 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.03169, allocations: 1.389 MB / 353 MB, free: 3.094 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.0319, allocations: 350.6 kB / 353.3 MB, free: 2.723 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.993e-05/0.03199, allocations: 60.48 kB / 353.4 MB, free: 2.664 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03199, allocations: 0 / 353.4 MB, free: 2.664 MB / 314.7 MB Notification: Performance of Templates: time 0.007916/0.03991, allocations: 10.37 MB / 363.7 MB, free: 8.305 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Interaction1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Interaction1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.64148595649749]