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.001289/0.001289, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001483/0.001483, allocations: 162.9 kB / 24.99 MB, free: 8.262 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 1.09/1.09, allocations: 177 MB / 205.2 MB, free: 5.617 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.443e-06/1.443e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.843e-05, allocations: 2.312 kB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.002766/0.002785, allocations: 2.549 MB / 275.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.004984, allocations: 1.896 MB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.005143, allocations: 11.88 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009084/0.006051, allocations: 0.5568 MB / 278 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006193/0.006671, allocations: 0.5019 MB / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.007393, allocations: 0.5494 MB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005961/0.007989, allocations: 0.8336 MB / 279.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.008144, allocations: 70.09 kB / 279.9 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.008533, allocations: 446.9 kB / 280.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.008855, allocations: 351.1 kB / 280.7 MB, free: 10 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.925e-05/0.008914, allocations: 44 kB / 280.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.009196, allocations: 243.6 kB / 281 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.009377, allocations: 215.3 kB / 281.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.009528, allocations: 171.4 kB / 281.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.01012, allocations: 0.6539 MB / 282 MB, free: 8.684 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.01013, allocations: 4 kB / 282 MB, free: 8.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01013, allocations: 0 / 282 MB, free: 8.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.01013, allocations: 0 / 282 MB, free: 8.68 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.001215/0.01135, allocations: 1.274 MB / 283.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.01139, allocations: 15.98 kB / 283.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.01152, allocations: 100.4 kB / 283.4 MB, free: 7.211 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.01206, allocations: 0.5236 MB / 283.9 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.01209, allocations: 24.36 kB / 284 MB, free: 6.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.01212, allocations: 24.38 kB / 284 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.01252, allocations: 377.8 kB / 284.4 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.01253, allocations: 4.188 kB / 284.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.01256, allocations: 16.34 kB / 284.4 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.01258, allocations: 7.938 kB / 284.4 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.01277, allocations: 187.5 kB / 284.6 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.01384, allocations: 1.508 MB / 286.1 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.01418, allocations: 330 kB / 286.4 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.01435, allocations: 191.7 kB / 286.6 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.01437, allocations: 4 kB / 286.6 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.01476, allocations: 0.4897 MB / 287.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.764e-06/0.01476, allocations: 0 / 287.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008012/0.01556, allocations: 0.7539 MB / 287.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.0157, allocations: 354.1 kB / 288.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.01637, allocations: 0.7611 MB / 288.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.0164, allocations: 41.7 kB / 289 MB, free: 1.125 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.01662, allocations: 387.6 kB / 289.4 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.01669, allocations: 103.2 kB / 289.5 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.01679, allocations: 107.8 kB / 289.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01692, allocations: 0.4925 MB / 290.1 MB, free: 28 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.01708, allocations: 158 kB / 290.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.01737, allocations: 0.4926 MB / 290.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.01775, allocations: 0.493 MB / 291.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01776, allocations: 0 / 291.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005951/0.01835, allocations: 0.6199 MB / 291.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.0184, allocations: 97.38 kB / 291.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01841, allocations: 8 kB / 291.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01843, allocations: 8 kB / 291.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.01859, allocations: 63.84 kB / 292 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.0186, allocations: 11.92 kB / 292 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.01874, allocations: 47.77 kB / 292.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.01877, allocations: 24 kB / 292.1 MB, free: 13.69 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,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.0002132/0.01898, allocations: 321.6 kB / 292.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.01908, allocations: 103.5 kB / 292.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005317/0.01961, allocations: 0.4991 MB / 293 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.01962, allocations: 4 kB / 293 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01962, allocations: 3.938 kB / 293 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.01963, allocations: 3.938 kB / 293 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007681/0.0204, allocations: 0.945 MB / 294 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.0204, allocations: 0 / 294 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.579e-05/0.02047, allocations: 27.92 kB / 294 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.02048, allocations: 8 kB / 294 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.0205, allocations: 15.98 kB / 294 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.02051, allocations: 7.938 kB / 294 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02051, allocations: 0 / 294 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.02117, allocations: 0.8527 MB / 294.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.02124, allocations: 79.55 kB / 294.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.02131, allocations: 27.92 kB / 295 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.02144, allocations: 19.98 kB / 295 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.02152, allocations: 43.92 kB / 295 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.02155, allocations: 31.98 kB / 295.1 MB, free: 10.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003995/0.02195, allocations: 498.9 kB / 295.5 MB, free: 10.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02195, allocations: 0 / 295.5 MB, free: 10.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003797/0.02233, allocations: 151.8 kB / 295.7 MB, free: 9.879 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 (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.0009374/0.02327, allocations: 484.1 kB / 296.2 MB, free: 9.512 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005203/0.02379, allocations: 0.6177 MB / 296.8 MB, free: 8.816 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02379, allocations: 0.5625 kB / 296.8 MB, free: 8.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.02405, allocations: 414.8 kB / 297.2 MB, free: 8.352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.02456, allocations: 206.5 kB / 297.4 MB, free: 8.156 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.02576, allocations: 1.112 MB / 298.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.02589, allocations: 174.2 kB / 298.7 MB, free: 6.781 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.02606, allocations: 100.9 kB / 298.8 MB, free: 6.684 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.02618, allocations: 60.48 kB / 298.8 MB, free: 6.625 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02618, allocations: 0 / 298.8 MB, free: 6.625 MB / 282.7 MB Notification: Performance of Templates: time 0.1148/0.1409, allocations: 9.9 MB / 308.7 MB, free: 40.72 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.1841580669861287]