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.001453/0.001453, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 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.001745/0.001745, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.605/1.605, allocations: 230.5 MB / 258.1 MB, free: 7.738 MB / 206.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.001787/0.001787, allocations: 55.91 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4351, allocations: 53.41 MB / 432.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.00434/0.4395, allocations: 2.439 MB / 434.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.443, allocations: 1.847 MB / 436.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.4432, allocations: 11.88 kB / 436.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.4444, allocations: 0.5492 MB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009716/0.4454, allocations: 0.4983 MB / 437.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.4469, allocations: 0.56 MB / 438.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009909/0.4479, allocations: 0.8182 MB / 439.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.4481, allocations: 65.97 kB / 439.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004483/0.4485, allocations: 334.8 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005717/0.4491, allocations: 402.4 kB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.246e-05/0.4492, allocations: 44 kB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.4497, allocations: 235.7 kB / 440.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.4499, allocations: 215.2 kB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.4502, allocations: 230.5 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.4514, allocations: 0.8977 MB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4514, allocations: 0 / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4514, allocations: 0 / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.4514, allocations: 0 / 441.5 MB, free: 13.36 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.001924/0.4533, allocations: 1.181 MB / 442.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4534, allocations: 11.98 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.4535, allocations: 84.42 kB / 442.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/0.4544, allocations: 0.5365 MB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.4544, allocations: 20.38 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.4545, allocations: 20.38 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.4552, allocations: 462.4 kB / 443.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4552, allocations: 0 / 443.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.4552, allocations: 8 kB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.4552, allocations: 8 kB / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.4557, allocations: 276.9 kB / 444.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.4573, allocations: 1.212 MB / 445.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/0.4581, allocations: 431.9 kB / 445.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.4585, allocations: 248.5 kB / 446 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.4585, allocations: 11.94 kB / 446 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007605/0.4593, allocations: 0.5548 MB / 446.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.814e-06/0.4593, allocations: 0 / 446.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001631/0.4609, allocations: 0.9611 MB / 447.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002424/0.4611, allocations: 362 kB / 447.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.4624, allocations: 0.9811 MB / 448.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-05/0.4625, allocations: 45.7 kB / 448.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.4628, allocations: 316.9 kB / 449.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.4629, allocations: 115.2 kB / 449.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.4631, allocations: 98.05 kB / 449.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4632, allocations: 326 kB / 449.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.4636, allocations: 246 kB / 449.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/0.4642, allocations: 0.5393 MB / 450.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.465, allocations: 0.5972 MB / 451.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.465, allocations: 0 / 451.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001285/0.4663, allocations: 0.7916 MB / 451.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.4664, allocations: 97.09 kB / 452 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4664, allocations: 7.938 kB / 452 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4664, allocations: 4 kB / 452 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.4667, allocations: 71.83 kB / 452 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4667, allocations: 8 kB / 452.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.467, allocations: 48.05 kB / 452.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.467, allocations: 24 kB / 452.1 MB, free: 1.883 MB / 350.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.0005134/0.4675, allocations: 391 kB / 452.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.4677, allocations: 83.67 kB / 452.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.4689, allocations: 0.6269 MB / 453.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.4689, allocations: 8.188 kB / 453.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.4689, allocations: 0 / 453.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.4689, allocations: 11.92 kB / 453.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.4708, allocations: 0.9339 MB / 454.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4708, allocations: 0 / 454.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.471, allocations: 35.86 kB / 454.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.471, allocations: 4 kB / 454.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.4711, allocations: 19.98 kB / 454.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4711, allocations: 0 / 454.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4711, allocations: 4 kB / 454.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.473, allocations: 0.9208 MB / 455.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.4732, allocations: 95.28 kB / 455.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.4734, allocations: 20 kB / 455.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.4738, allocations: 23.97 kB / 455.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.474, allocations: 43.94 kB / 455.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/0.474, allocations: 23.98 kB / 455.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001414/0.4754, allocations: 0.7021 MB / 456.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4754, allocations: 0 / 456.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009963/0.4764, allocations: 159.8 kB / 456.2 MB, free: 13.62 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.002401/0.4788, allocations: 0.5162 MB / 456.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.4806, allocations: 0.7543 MB / 457.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4806, allocations: 8 kB / 457.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009209/0.4815, allocations: 483 kB / 458 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.4829, allocations: 179.7 kB / 458.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/0.4865, allocations: 1.386 MB / 459.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.4871, allocations: 350.8 kB / 459.9 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.4873, allocations: 59.42 kB / 459.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4873, allocations: 0 / 459.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of Templates: time 0.0297/0.517, allocations: 10.35 MB / 470.3 MB, free: 15.5 MB / 382.1 MB " [Timeout remaining time 659] 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/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: 9.086983037181199]