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.001409/0.001409, allocations: 81.81 kB / 21.42 MB, free: 3.074 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.001049/0.001049, allocations: 163.7 kB / 24.82 MB, free: 8.938 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.9415/0.9415, allocations: 177 MB / 205.1 MB, free: 5.453 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.493e-06/1.493e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.026e-05, allocations: 9.266 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.00296/0.00298, allocations: 2.529 MB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.006548, allocations: 1.866 MB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.006826, allocations: 11.88 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008692/0.007695, allocations: 0.5646 MB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006655/0.008361, allocations: 0.5213 MB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007408/0.009101, allocations: 0.5416 MB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005499/0.009651, allocations: 0.8259 MB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.00979, allocations: 70.14 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007933/0.01058, allocations: 0.5116 MB / 280.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.01086, allocations: 315.2 kB / 281.1 MB, free: 9.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/0.01091, allocations: 36 kB / 281.1 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.01117, allocations: 235.6 kB / 281.3 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.01136, allocations: 203.3 kB / 281.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.01152, allocations: 167.4 kB / 281.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007136/0.01223, allocations: 0.6344 MB / 282.3 MB, free: 8.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01224, allocations: 4 kB / 282.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01224, allocations: 4 kB / 282.3 MB, free: 8.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.01224, allocations: 0 / 282.3 MB, free: 8.18 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.00117/0.01341, allocations: 1.266 MB / 283.6 MB, free: 6.832 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.01345, allocations: 15.98 kB / 283.6 MB, free: 6.816 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.01358, allocations: 96.42 kB / 283.7 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006367/0.01422, allocations: 0.5873 MB / 284.3 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.01424, allocations: 20.38 kB / 284.3 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.01428, allocations: 28.36 kB / 284.3 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.01461, allocations: 340.4 kB / 284.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.01462, allocations: 192 / 284.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.01464, allocations: 8.375 kB / 284.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.01466, allocations: 11.94 kB / 284.7 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.01483, allocations: 164.9 kB / 284.9 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009608/0.01579, allocations: 1.388 MB / 286.2 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.0161, allocations: 321.9 kB / 286.6 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.01623, allocations: 175.8 kB / 286.7 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.01626, allocations: 11.97 kB / 286.7 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/0.01661, allocations: 497.4 kB / 287.2 MB, free: 2.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.573e-06/0.01662, allocations: 0 / 287.2 MB, free: 2.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.000721/0.01734, allocations: 0.7033 MB / 287.9 MB, free: 2.098 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.01744, allocations: 332.4 kB / 288.3 MB, free: 1.699 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/0.01806, allocations: 0.7216 MB / 289 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.0181, allocations: 45.7 kB / 289 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.01834, allocations: 387.5 kB / 289.4 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/0.01842, allocations: 119.1 kB / 289.5 MB, free: 420 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.01854, allocations: 103.8 kB / 289.6 MB, free: 308 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.01868, allocations: 0.5042 MB / 290.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.0188, allocations: 134.6 kB / 290.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.01904, allocations: 457.6 kB / 290.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.01939, allocations: 476.7 kB / 291.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01939, allocations: 0 / 291.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005864/0.01998, allocations: 0.5887 MB / 291.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.02003, allocations: 101.1 kB / 291.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.02004, allocations: 4.281 kB / 291.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.02005, allocations: 12 kB / 291.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.02022, allocations: 59.91 kB / 291.9 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.02023, allocations: 15.88 kB / 291.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.02041, allocations: 43.77 kB / 292 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.02043, allocations: 16 kB / 292 MB, free: 13.6 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,integerValue.number,booleanValue.active) * 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.0002114/0.02064, allocations: 325.6 kB / 292.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.02076, allocations: 107.5 kB / 292.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005193/0.02128, allocations: 487 kB / 292.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.02128, allocations: 4 kB / 292.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.02128, allocations: 0 / 292.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.02129, allocations: 4 kB / 292.9 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007463/0.02204, allocations: 0.8136 MB / 293.7 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.02204, allocations: 0 / 293.7 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.304e-05/0.02212, allocations: 27.92 kB / 293.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.02213, allocations: 4 kB / 293.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.02215, allocations: 19.98 kB / 293.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.02216, allocations: 7.938 kB / 293.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02216, allocations: 0 / 293.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007011/0.02286, allocations: 0.7987 MB / 294.6 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.02294, allocations: 75.42 kB / 294.7 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/0.02302, allocations: 27.92 kB / 294.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.02319, allocations: 23.92 kB / 294.7 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.02327, allocations: 39.94 kB / 294.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.0233, allocations: 20 kB / 294.8 MB, free: 10.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003703/0.02367, allocations: 450.8 kB / 295.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02367, allocations: 0 / 295.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004525/0.02412, allocations: 151.8 kB / 295.4 MB, free: 10.07 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 (33): * Single equations (assignments): 22 * 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.001107/0.02523, allocations: 488.6 kB / 295.8 MB, free: 9.695 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004995/0.02573, allocations: 0.5873 MB / 296.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.02573, allocations: 4 kB / 296.4 MB, free: 9.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.02601, allocations: 387.4 kB / 296.8 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/0.02663, allocations: 209 kB / 297 MB, free: 8.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.02792, allocations: 1.105 MB / 298.1 MB, free: 7.223 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.02805, allocations: 161.8 kB / 298.3 MB, free: 7.043 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001941/0.02824, allocations: 96.86 kB / 298.4 MB, free: 6.949 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/0.02859, allocations: 238.1 kB / 298.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02859, allocations: 0 / 298.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of Templates: time 0.1129/0.1415, allocations: 10.38 MB / 309 MB, free: 37.36 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.18563324585557]