Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 179 kB / 18.04 MB, free: 3.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.4 MB / 224.2 MB, free: 8.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007541/0.000754, allocations: 85 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 8 kB / 329.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2073, allocations: 47.59 MB / 377 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08755/0.2949, allocations: 81.1 MB / 458.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.2952, allocations: 71.97 kB / 458.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07072/0.3659, allocations: 26 MB / 484.2 MB, free: 5.336 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.366, allocations: 0 / 484.2 MB, free: 5.336 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.166e-05/0.366, allocations: 15.94 kB / 484.2 MB, free: 5.32 MB / 362.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.001932/0.368, allocations: 1.12 MB / 485.3 MB, free: 4.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.368, allocations: 8.031 kB / 485.3 MB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.3683, allocations: 80 kB / 485.4 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.3695, allocations: 0.6483 MB / 486.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.3695, allocations: 28.34 kB / 486.1 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.3696, allocations: 24.38 kB / 486.1 MB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.3702, allocations: 375.4 kB / 486.5 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3703, allocations: 192 / 486.5 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.3703, allocations: 15.94 kB / 486.5 MB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.3703, allocations: 4 kB / 486.5 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.3708, allocations: 207.6 kB / 486.7 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.3726, allocations: 1.427 MB / 488.1 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.3733, allocations: 378.8 kB / 488.5 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.3736, allocations: 183.4 kB / 488.7 MB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3736, allocations: 0 / 488.7 MB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006091/0.3743, allocations: 483.2 kB / 489.1 MB, free: 12 kB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.304e-06/0.3743, allocations: 0 / 489.1 MB, free: 12 kB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001533/0.3758, allocations: 0.7995 MB / 489.9 MB, free: 15.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/0.376, allocations: 464.8 kB / 490.4 MB, free: 14.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.3774, allocations: 0.934 MB / 491.3 MB, free: 13.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/0.3775, allocations: 41.7 kB / 491.4 MB, free: 13.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.3778, allocations: 308.7 kB / 491.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.3779, allocations: 106.7 kB / 491.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.3779, allocations: 8 kB / 491.8 MB, free: 13.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.378, allocations: 330 kB / 492.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.3784, allocations: 156.9 kB / 492.3 MB, free: 12.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.3789, allocations: 374.5 kB / 492.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.3801, allocations: 0.8152 MB / 493.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.3801, allocations: 0 / 493.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001211/0.3813, allocations: 0.7159 MB / 494.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.714e-05/0.3814, allocations: 93.09 kB / 494.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3814, allocations: 7.984 kB / 494.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3814, allocations: 12.28 kB / 494.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.3817, allocations: 63.84 kB / 494.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/0.3817, allocations: 12.17 kB / 494.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.3821, allocations: 47.73 kB / 494.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.3821, allocations: 27.98 kB / 494.4 MB, free: 10.36 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: stop.table.y:DISCRETE(fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean start.table.y:DISCRETE(fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean 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],$whenCondition9,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition8,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.start.table.combiTimeTable.nextTimeEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$PRE.stop.reset[1],$PRE.stop.table.y,$whenCondition4,$whenCondition5,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$PRE.start.reset[1],$PRE.start.table.y,$whenCondition6,$whenCondition7,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],$whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005173/0.3827, allocations: 408.1 kB / 494.8 MB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.3828, allocations: 79.06 kB / 494.9 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009922/0.3838, allocations: 0.5379 MB / 495.4 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.3838, allocations: 7.938 kB / 495.4 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3839, allocations: 3.984 kB / 495.4 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3839, allocations: 4 kB / 495.4 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.3853, allocations: 1.064 MB / 496.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3853, allocations: 3.938 kB / 496.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.3854, allocations: 32.12 kB / 496.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.3854, allocations: 7.938 kB / 496.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.3855, allocations: 19.97 kB / 496.6 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3855, allocations: 4 kB / 496.6 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3855, allocations: 4 kB / 496.6 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.3867, allocations: 0.8498 MB / 497.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.387, allocations: 192.1 kB / 497.6 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.3871, allocations: 24 kB / 497.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.3874, allocations: 31.97 kB / 497.7 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3875, allocations: 39.86 kB / 497.7 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.3876, allocations: 23.98 kB / 497.7 MB, free: 6.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009086/0.3885, allocations: 0.6669 MB / 498.4 MB, free: 6.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3885, allocations: 0 / 498.4 MB, free: 6.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007317/0.3892, allocations: 187.9 kB / 498.6 MB, free: 6.004 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/0.3904, allocations: 0.5176 MB / 499.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.3914, allocations: 0.658 MB / 499.8 MB, free: 4.812 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3914, allocations: 4.188 kB / 499.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005369/0.392, allocations: 454 kB / 0.4885 GB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009642/0.393, allocations: 163.7 kB / 0.4886 GB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.395, allocations: 1.341 MB / 0.49 GB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.3956, allocations: 0.9335 MB / 0.4909 GB, free: 1.824 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000365/0.396, allocations: 117.3 kB / 0.491 GB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.3961, allocations: 63.41 kB / 0.491 GB, free: 1.648 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3961, allocations: 3.938 kB / 0.491 GB, free: 1.645 MB / 378.7 MB Notification: Performance of Templates: time 0.153/0.5491, allocations: 9.3 MB / 0.5001 GB, free: 104 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches