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.001441/0.001441, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001398/0.001398, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9599/0.9599, allocations: 177 MB / 204.8 MB, free: 5.574 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.[0-9,]+.|stop.on|stop.reset.[0-9,]+.",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.[0-9,]+.|stop.on|stop.reset.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.18e-05, allocations: 2.312 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003255/0.003276, allocations: 2.571 MB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.005927, allocations: 1.893 MB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.006136, allocations: 11.88 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009883/0.007124, allocations: 0.5491 MB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006821/0.007806, allocations: 0.5096 MB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009576/0.008764, allocations: 0.5494 MB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007363/0.0095, allocations: 0.8219 MB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.009661, allocations: 78.08 kB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003604/0.01002, allocations: 446.9 kB / 280.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.01034, allocations: 351.1 kB / 280.7 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.01039, allocations: 44 kB / 280.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.01069, allocations: 247.5 kB / 280.9 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.01086, allocations: 219.3 kB / 281.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.011, allocations: 175.4 kB / 281.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.01164, allocations: 0.65 MB / 282 MB, free: 8.328 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01164, allocations: 0 / 282 MB, free: 8.328 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01164, allocations: 0 / 282 MB, free: 8.328 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.01165, allocations: 0 / 282 MB, free: 8.328 MB / 266.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.001172/0.01282, allocations: 1.274 MB / 283.3 MB, free: 6.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.01286, allocations: 11.98 kB / 283.3 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.01298, allocations: 104.4 kB / 283.4 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006319/0.01362, allocations: 0.5236 MB / 283.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.01365, allocations: 20.36 kB / 283.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.01368, allocations: 24.38 kB / 283.9 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.01408, allocations: 381.8 kB / 284.3 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.01409, allocations: 192 / 284.3 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.01411, allocations: 12.36 kB / 284.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.01414, allocations: 11.94 kB / 284.3 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.01432, allocations: 185.7 kB / 284.5 MB, free: 5.605 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.01538, allocations: 1.508 MB / 286 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.01571, allocations: 333.9 kB / 286.3 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.01586, allocations: 191.8 kB / 286.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.01588, allocations: 11.97 kB / 286.5 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003855/0.01627, allocations: 0.4897 MB / 287 MB, free: 2.832 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.363e-06/0.01627, allocations: 0 / 287 MB, free: 2.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007552/0.01702, allocations: 0.7505 MB / 287.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.01715, allocations: 354.1 kB / 288.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/0.01774, allocations: 0.7611 MB / 288.9 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.01778, allocations: 41.7 kB / 288.9 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.01801, allocations: 387.6 kB / 289.3 MB, free: 396 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/0.01808, allocations: 111.2 kB / 289.4 MB, free: 284 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.01818, allocations: 99.83 kB / 289.5 MB, free: 176 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.01831, allocations: 0.4964 MB / 290 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.01845, allocations: 158 kB / 290.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.01881, allocations: 0.4921 MB / 290.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.01916, allocations: 488.8 kB / 291.1 MB, free: 14.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.01917, allocations: 3.938 kB / 291.1 MB, free: 14.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005411/0.01971, allocations: 0.6201 MB / 291.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.996e-05/0.01976, allocations: 97.09 kB / 291.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01977, allocations: 7.938 kB / 291.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.01979, allocations: 4 kB / 291.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.01995, allocations: 63.91 kB / 291.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.01996, allocations: 15.86 kB / 291.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.0201, allocations: 47.77 kB / 292 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.02012, allocations: 16 kB / 292 MB, free: 13.35 MB / 282.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.0001904/0.02031, allocations: 321.9 kB / 292.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.0204, allocations: 107.5 kB / 292.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.02089, allocations: 0.503 MB / 292.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.02089, allocations: 4.188 kB / 292.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.0209, allocations: 7.938 kB / 292.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.02091, allocations: 3.984 kB / 292.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/0.02162, allocations: 0.9333 MB / 293.9 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.02162, allocations: 8 kB / 293.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.02169, allocations: 31.92 kB / 293.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.0217, allocations: 4 kB / 293.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.02172, allocations: 15.98 kB / 293.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.289e-06/0.02173, allocations: 7.938 kB / 293.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02173, allocations: 0 / 293.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006054/0.02233, allocations: 0.8488 MB / 294.8 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.02241, allocations: 83.41 kB / 294.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.02247, allocations: 27.92 kB / 294.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.02258, allocations: 27.98 kB / 294.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.02267, allocations: 39.94 kB / 295 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.02269, allocations: 23.98 kB / 295 MB, free: 10.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003828/0.02308, allocations: 0.4911 MB / 295.5 MB, free: 9.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02308, allocations: 0 / 295.5 MB, free: 9.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003355/0.02341, allocations: 155.8 kB / 295.6 MB, free: 9.527 MB / 282.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.001193/0.02461, allocations: 474.5 kB / 296.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004988/0.0251, allocations: 0.622 MB / 296.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.02511, allocations: 0 / 296.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.02535, allocations: 411.1 kB / 297.1 MB, free: 8.012 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.02593, allocations: 210.2 kB / 297.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.02699, allocations: 1.116 MB / 298.4 MB, free: 6.629 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.0271, allocations: 174.2 kB / 298.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.02724, allocations: 96.88 kB / 298.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.942e-05/0.02733, allocations: 60.48 kB / 298.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02733, allocations: 0 / 298.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of Templates: time 0.1612/0.1885, allocations: 9.899 MB / 308.7 MB, free: 35.64 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0259258961305022]