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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 67.72 kB / 307 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1424, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.006607/0.149, allocations: 2.584 MB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005355/0.1544, allocations: 1.925 MB / 362 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004208/0.1549, allocations: 7.938 kB / 362 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.1569, allocations: 0.5375 MB / 362.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.1588, allocations: 493.8 kB / 363.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.1616, allocations: 0.5374 MB / 363.6 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001914/0.1635, allocations: 0.83 MB / 364.4 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.1639, allocations: 106 kB / 364.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008346/0.1648, allocations: 330.8 kB / 364.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007382/0.1656, allocations: 374.5 kB / 365.2 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.1657, allocations: 40 kB / 365.3 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007177/0.1665, allocations: 223.8 kB / 365.5 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004376/0.1669, allocations: 207.3 kB / 365.7 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.1675, allocations: 314 kB / 366 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.1691, allocations: 0.8646 MB / 366.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1692, allocations: 0 / 366.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1692, allocations: 0 / 366.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1692, allocations: 4 kB / 366.8 MB, free: 4.707 MB / 302.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.002929/0.1722, allocations: 1.23 MB / 368.1 MB, free: 3.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.1722, allocations: 8.031 kB / 368.1 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.1725, allocations: 83.91 kB / 368.2 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.174, allocations: 0.5937 MB / 368.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.1741, allocations: 16.38 kB / 368.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.1742, allocations: 28.12 kB / 368.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.1753, allocations: 354.7 kB / 369.2 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1754, allocations: 7.938 kB / 369.2 MB, free: 2.207 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/0.1755, allocations: 8 kB / 369.2 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.1755, allocations: 8 kB / 369.2 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007225/0.1762, allocations: 179.8 kB / 369.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.1791, allocations: 1.352 MB / 370.7 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.1805, allocations: 366.2 kB / 371.1 MB, free: 204 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006192/0.1811, allocations: 175.4 kB / 371.2 MB, free: 16 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.1812, allocations: 15.94 kB / 371.2 MB, free: 0 / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2502/0.4314, allocations: 452.3 kB / 371.7 MB, free: 19.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 6.202e-06/0.4315, allocations: 0.9062 kB / 371.7 MB, free: 19.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.002125/0.4336, allocations: 0.743 MB / 372.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000239/0.4339, allocations: 458.7 kB / 372.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.4363, allocations: 0.9728 MB / 373.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.047e-05/0.4364, allocations: 47.25 kB / 373.9 MB, free: 19.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.4367, allocations: 315.6 kB / 374.2 MB, free: 18.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.4369, allocations: 108.3 kB / 374.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.4372, allocations: 97.2 kB / 374.4 MB, free: 18.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.4373, allocations: 325.9 kB / 374.7 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.4377, allocations: 152.5 kB / 374.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.4382, allocations: 356.7 kB / 375.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.439, allocations: 0.5736 MB / 375.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.439, allocations: 5.203 kB / 375.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001411/0.4404, allocations: 0.6733 MB / 376.5 MB, free: 17.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.4405, allocations: 102.2 kB / 376.6 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.4406, allocations: 2.781 kB / 376.6 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.835e-05/0.4406, allocations: 6.438 kB / 376.6 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.441, allocations: 62.83 kB / 376.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.251e-05/0.441, allocations: 11.48 kB / 376.7 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.4414, allocations: 45.88 kB / 376.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.4415, allocations: 27.08 kB / 376.7 MB, free: 17.36 MB / 302.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.0005258/0.442, allocations: 402.6 kB / 377.1 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.4423, allocations: 89.36 kB / 377.2 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.4425, allocations: 80.33 kB / 377.3 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.4425, allocations: 4.125 kB / 377.3 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.4425, allocations: 2.031 kB / 377.3 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.4425, allocations: 2.562 kB / 377.3 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.444, allocations: 0.9754 MB / 378.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.444, allocations: 1.188 kB / 378.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4441, allocations: 29.8 kB / 378.3 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.4442, allocations: 6.375 kB / 378.3 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.4442, allocations: 16.72 kB / 378.3 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4442, allocations: 1.094 kB / 378.3 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4442, allocations: 3.406 kB / 378.3 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.4454, allocations: 0.7855 MB / 379.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.4456, allocations: 150.9 kB / 379.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.4457, allocations: 27.83 kB / 379.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.446, allocations: 23.5 kB / 379.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.4461, allocations: 42.08 kB / 379.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.4461, allocations: 21.06 kB / 379.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009467/0.4471, allocations: 0.6979 MB / 380.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4471, allocations: 0 / 380.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006325/0.4477, allocations: 148.8 kB / 380.2 MB, free: 15.51 MB / 302.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.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,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 (31): * Single equations (assignments): 20 * 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.001704/0.4495, allocations: 499.2 kB / 380.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009885/0.4505, allocations: 0.6279 MB / 381.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4505, allocations: 0 / 381.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004742/0.451, allocations: 440.2 kB / 381.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008859/0.4519, allocations: 189.9 kB / 381.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.4537, allocations: 1.23 MB / 383.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.4542, allocations: 0.9422 MB / 384.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003285/0.4545, allocations: 115.8 kB / 384.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.4546, allocations: 59.19 kB / 384.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4546, allocations: 0 / 384.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of Templates: time 0.01886/0.4735, allocations: 9.423 MB / 393.7 MB, free: 9.895 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Interaction1.makefile (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) 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) Reference file matches