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.001343/0.001343, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 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.001576/0.001576, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 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 1.52/1.52, allocations: 177.1 MB / 204.7 MB, free: 8.914 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001955/0.001955, allocations: 57.45 kB / 325.5 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1414, allocations: 53.39 MB / 378.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004886/0.1463, allocations: 2.431 MB / 381.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003927/0.1502, allocations: 1.851 MB / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.1506, allocations: 15.88 kB / 383.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.1521, allocations: 0.5492 MB / 383.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.1532, allocations: 0.5017 MB / 384.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.1549, allocations: 0.5491 MB / 384.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.1561, allocations: 0.8298 MB / 385.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.1563, allocations: 62.11 kB / 385.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/0.1568, allocations: 342.8 kB / 386 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005559/0.1573, allocations: 394.5 kB / 386.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.06e-05/0.1574, allocations: 40 kB / 386.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.1579, allocations: 235.7 kB / 386.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.1582, allocations: 219.2 kB / 386.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.1585, allocations: 234.5 kB / 387.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.1597, allocations: 0.8949 MB / 388 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1597, allocations: 0 / 388 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1597, allocations: 0 / 388 MB, free: 6.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.1597, allocations: 0 / 388 MB, free: 6.371 MB / 350.1 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.002049/0.1617, allocations: 1.178 MB / 389.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1618, allocations: 8.031 kB / 389.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1619, allocations: 84.42 kB / 389.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009291/0.1629, allocations: 0.5326 MB / 389.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.1629, allocations: 28.3 kB / 389.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.1629, allocations: 24.36 kB / 389.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007255/0.1637, allocations: 446.9 kB / 390.3 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1637, allocations: 8 kB / 390.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.1637, allocations: 12 kB / 390.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.1637, allocations: 4 kB / 390.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.1642, allocations: 280.9 kB / 390.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.1659, allocations: 1.208 MB / 391.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008024/0.1667, allocations: 439.6 kB / 392.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.1671, allocations: 259.3 kB / 392.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1671, allocations: 4 kB / 392.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007769/0.1679, allocations: 0.5511 MB / 393.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.1679, allocations: 0 / 393.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00172/0.1696, allocations: 0.9494 MB / 394 MB, free: 15.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002675/0.1699, allocations: 361.9 kB / 394.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.1712, allocations: 0.985 MB / 395.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.1712, allocations: 45.7 kB / 395.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.1715, allocations: 316.9 kB / 395.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.1716, allocations: 115 kB / 395.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.1718, allocations: 98.17 kB / 395.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.172, allocations: 326 kB / 396.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.1723, allocations: 254 kB / 396.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/0.173, allocations: 0.5425 MB / 397 MB, free: 12.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008199/0.1738, allocations: 0.6012 MB / 397.6 MB, free: 12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1738, allocations: 0 / 397.6 MB, free: 12 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001261/0.1751, allocations: 0.7923 MB / 398.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-05/0.1752, allocations: 99.75 kB / 398.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.1752, allocations: 12.2 kB / 398.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.1752, allocations: 8 kB / 398.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.1755, allocations: 63.91 kB / 398.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.1755, allocations: 8 kB / 398.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.1758, allocations: 47.77 kB / 398.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.1758, allocations: 24 kB / 398.7 MB, free: 10.89 MB / 366.1 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.0005119/0.1763, allocations: 394.7 kB / 399 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.1765, allocations: 87.48 kB / 399.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.1776, allocations: 0.6142 MB / 399.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1776, allocations: 4 kB / 399.7 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1776, allocations: 0 / 399.7 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.1776, allocations: 7.922 kB / 399.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.179, allocations: 0.9377 MB / 400.7 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.179, allocations: 0 / 400.7 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.1791, allocations: 43.86 kB / 400.7 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1792, allocations: 0 / 400.7 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.1792, allocations: 19.98 kB / 400.8 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.1792, allocations: 4 kB / 400.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.1792, allocations: 4 kB / 400.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.1805, allocations: 0.9216 MB / 401.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.1806, allocations: 87.28 kB / 401.8 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.1808, allocations: 28 kB / 401.8 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.181, allocations: 24.16 kB / 401.8 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.1811, allocations: 36.09 kB / 401.9 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.1812, allocations: 31.92 kB / 401.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009458/0.1821, allocations: 0.706 MB / 402.6 MB, free: 6.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1821, allocations: 0 / 402.6 MB, free: 6.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006866/0.1828, allocations: 151.8 kB / 402.7 MB, free: 6.629 MB / 366.1 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.001912/0.1847, allocations: 0.5045 MB / 403.2 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.186, allocations: 0.7655 MB / 404 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.186, allocations: 0 / 404 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006387/0.1866, allocations: 487 kB / 404.5 MB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.1875, allocations: 183.9 kB / 404.7 MB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.1899, allocations: 1.345 MB / 406 MB, free: 3.316 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.1903, allocations: 342.6 kB / 406.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003032/0.1906, allocations: 108.9 kB / 406.5 MB, free: 2.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.1907, allocations: 60.48 kB / 406.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1907, allocations: 0 / 406.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of Templates: time 0.01972/0.2104, allocations: 9.891 MB / 416.4 MB, free: 8.973 MB / 382.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins1/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: 4.865857381024398]