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.001399/0.001399, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001756/0.001756, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.9767/0.9767, allocations: 177 MB / 205.9 MB, free: 4.449 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.623e-06/1.623e-06, allocations: 0 / 274.1 MB, free: 4.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.583e-05, allocations: 4.141 kB / 274.1 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003089/0.003115, allocations: 2.513 MB / 276.6 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.005718, allocations: 1.885 MB / 278.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.006016, allocations: 7.938 kB / 278.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009287/0.006945, allocations: 0.5556 MB / 279.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000747/0.007692, allocations: 0.5142 MB / 279.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.00882, allocations: 0.5533 MB / 280.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000866/0.009686, allocations: 0.8219 MB / 281 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.00987, allocations: 62.16 kB / 281 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.01097, allocations: 0.5141 MB / 281.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.01138, allocations: 315.2 kB / 281.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.217e-05/0.01143, allocations: 36 kB / 281.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.01181, allocations: 235.6 kB / 282.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.01201, allocations: 211.3 kB / 282.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.01215, allocations: 163.4 kB / 282.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008583/0.01301, allocations: 0.6421 MB / 283.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.01302, allocations: 0 / 283.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.01302, allocations: 4 kB / 283.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.01303, allocations: 0 / 283.1 MB, free: 11.38 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.001201/0.01423, allocations: 1.262 MB / 284.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.01427, allocations: 12.03 kB / 284.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.0144, allocations: 100.4 kB / 284.5 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.01499, allocations: 0.5951 MB / 285.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.01502, allocations: 20.38 kB / 285.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.01505, allocations: 24.36 kB / 285.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.01538, allocations: 332.4 kB / 285.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.01539, allocations: 4.125 kB / 285.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.01541, allocations: 8.375 kB / 285.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.01544, allocations: 15.92 kB / 285.5 MB, free: 8.852 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.01558, allocations: 161 kB / 285.6 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.01661, allocations: 1.391 MB / 287 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.01693, allocations: 318 kB / 287.3 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.01705, allocations: 183.8 kB / 287.5 MB, free: 6.633 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.01707, allocations: 4 kB / 287.5 MB, free: 6.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003431/0.01742, allocations: 493.4 kB / 288 MB, free: 6.066 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.01742, allocations: 0 / 288 MB, free: 6.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007096/0.01813, allocations: 0.7101 MB / 288.7 MB, free: 5.297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.01824, allocations: 332.4 kB / 289 MB, free: 4.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.01876, allocations: 0.7256 MB / 289.8 MB, free: 4.156 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.0188, allocations: 45.69 kB / 289.8 MB, free: 4.105 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.01902, allocations: 383.5 kB / 290.2 MB, free: 3.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.0191, allocations: 123.1 kB / 290.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.01921, allocations: 103.8 kB / 290.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.01935, allocations: 0.5003 MB / 290.9 MB, free: 2.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.01946, allocations: 142 kB / 291 MB, free: 2.832 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.01972, allocations: 446.5 kB / 291.5 MB, free: 2.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.02012, allocations: 466.1 kB / 291.9 MB, free: 1.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.02012, allocations: 3.938 kB / 291.9 MB, free: 1.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009051/0.02103, allocations: 0.5992 MB / 292.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.686e-05/0.02109, allocations: 97.09 kB / 292.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.0211, allocations: 4 kB / 292.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.02112, allocations: 8 kB / 292.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.02129, allocations: 64.08 kB / 292.7 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.0213, allocations: 7.984 kB / 292.7 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.02157, allocations: 40.47 kB / 292.8 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.0216, allocations: 20.27 kB / 292.8 MB, free: 0.8086 MB / 266.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.0002742/0.02187, allocations: 333.6 kB / 293.1 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.02198, allocations: 103.5 kB / 293.2 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.02248, allocations: 486.8 kB / 293.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.02248, allocations: 4 kB / 293.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.02248, allocations: 0 / 293.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.02249, allocations: 3.984 kB / 293.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/0.02319, allocations: 0.8166 MB / 294.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02319, allocations: 0 / 294.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-05/0.02326, allocations: 27.92 kB / 294.5 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.02327, allocations: 4 kB / 294.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.02329, allocations: 15.98 kB / 294.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.02329, allocations: 7.938 kB / 294.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02329, allocations: 0 / 294.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.02385, allocations: 0.7989 MB / 295.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.02392, allocations: 75.41 kB / 295.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.02398, allocations: 28 kB / 295.5 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.02411, allocations: 23.92 kB / 295.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/0.02418, allocations: 43.94 kB / 295.5 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.02421, allocations: 19.98 kB / 295.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002985/0.02451, allocations: 450.8 kB / 296 MB, free: 13.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02451, allocations: 0 / 296 MB, free: 13.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004064/0.02491, allocations: 147.8 kB / 296.1 MB, free: 13.27 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.0009191/0.02583, allocations: 477.5 kB / 296.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.02625, allocations: 0.5897 MB / 297.2 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02625, allocations: 0 / 297.2 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.02646, allocations: 402.7 kB / 297.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.02697, allocations: 193.8 kB / 297.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.02809, allocations: 1.098 MB / 298.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.02821, allocations: 169.8 kB / 299 MB, free: 10.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.02836, allocations: 89.17 kB / 299.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.02866, allocations: 242.1 kB / 299.4 MB, free: 9.941 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02866, allocations: 0 / 299.4 MB, free: 9.941 MB / 282.7 MB Notification: Performance of Templates: time 0.01222/0.04088, allocations: 10.56 MB / 309.9 MB, free: 15.47 MB / 298.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.1971234530210495]