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.001951/0.001951, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002194/0.002194, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 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.62/1.62, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|stop.on|stop.reset.1.",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.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.22e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004403/0.004435, allocations: 2.443 MB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.008609, allocations: 1.858 MB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.008937, allocations: 11.94 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.01067, allocations: 0.5568 MB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.0121, allocations: 0.4981 MB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.0141, allocations: 0.5454 MB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.0153, allocations: 0.8297 MB / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.01551, allocations: 70.14 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.01655, allocations: 442.9 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005147/0.01707, allocations: 359.1 kB / 279.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.093e-05/0.01715, allocations: 44 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005818/0.01773, allocations: 235.7 kB / 280.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.01801, allocations: 219.2 kB / 280.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.01825, allocations: 175.4 kB / 280.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.01962, allocations: 0.9189 MB / 281.4 MB, free: 8.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01963, allocations: 0 / 281.4 MB, free: 8.586 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01963, allocations: 0 / 281.4 MB, free: 8.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.01964, allocations: 0 / 281.4 MB, free: 8.586 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.002239/0.02188, allocations: 1.162 MB / 282.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.02192, allocations: 11.98 kB / 282.5 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.02215, allocations: 112.3 kB / 282.6 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.02316, allocations: 0.5436 MB / 283.2 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.02321, allocations: 28.36 kB / 283.2 MB, free: 6.629 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.02326, allocations: 24.36 kB / 283.2 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007913/0.02405, allocations: 451.2 kB / 283.7 MB, free: 6.113 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.02406, allocations: 192 / 283.7 MB, free: 6.113 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.0241, allocations: 8.375 kB / 283.7 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.02413, allocations: 11.92 kB / 283.7 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006368/0.02476, allocations: 276.9 kB / 284 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.02667, allocations: 1.212 MB / 285.2 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009254/0.0276, allocations: 427.9 kB / 285.6 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.02804, allocations: 256.4 kB / 285.8 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.02807, allocations: 4 kB / 285.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/0.02938, allocations: 0.5435 MB / 286.4 MB, free: 3.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.903e-06/0.02938, allocations: 0 / 286.4 MB, free: 3.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001952/0.03133, allocations: 0.9804 MB / 287.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002765/0.03161, allocations: 350.1 kB / 287.7 MB, free: 1.699 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.03304, allocations: 0.9811 MB / 288.7 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.428e-05/0.03311, allocations: 49.69 kB / 288.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.03344, allocations: 312.9 kB / 289.1 MB, free: 348 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.03358, allocations: 115.1 kB / 289.2 MB, free: 232 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.03376, allocations: 94.19 kB / 289.3 MB, free: 132 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.03398, allocations: 329.9 kB / 289.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.03441, allocations: 254 kB / 289.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006947/0.0351, allocations: 0.5434 MB / 290.4 MB, free: 14.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009895/0.03609, allocations: 0.6016 MB / 291 MB, free: 14.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.0361, allocations: 0 / 291 MB, free: 14.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001451/0.03755, allocations: 0.8073 MB / 291.8 MB, free: 13.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.03767, allocations: 101.1 kB / 291.9 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.03769, allocations: 4.281 kB / 291.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/0.03773, allocations: 12 kB / 291.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.03801, allocations: 59.91 kB / 292 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/0.03803, allocations: 15.88 kB / 292 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.0384, allocations: 51.75 kB / 292 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.03845, allocations: 20 kB / 292 MB, free: 13.06 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.0006833/0.03914, allocations: 386.9 kB / 292.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.03934, allocations: 111.5 kB / 292.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.04079, allocations: 0.6183 MB / 293.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.04079, allocations: 4.188 kB / 293.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.0408, allocations: 3.938 kB / 293.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.04081, allocations: 3.984 kB / 293.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.04227, allocations: 0.9455 MB / 294.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.04227, allocations: 0 / 294.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.04239, allocations: 31.92 kB / 294.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.0424, allocations: 4 kB / 294.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.04244, allocations: 19.98 kB / 294.2 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.04245, allocations: 3.938 kB / 294.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.04245, allocations: 0 / 294.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.04389, allocations: 0.9404 MB / 295.1 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.04404, allocations: 79.41 kB / 295.2 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.04416, allocations: 27.88 kB / 295.2 MB, free: 9.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.04441, allocations: 27.97 kB / 295.2 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.04454, allocations: 43.94 kB / 295.3 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.04459, allocations: 23.98 kB / 295.3 MB, free: 9.621 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.0456, allocations: 0.706 MB / 296 MB, free: 8.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0456, allocations: 0 / 296 MB, free: 8.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006797/0.04628, allocations: 155.8 kB / 296.2 MB, free: 8.762 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.002172/0.04845, allocations: 0.5132 MB / 296.7 MB, free: 8.391 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.04976, allocations: 0.7655 MB / 297.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.04976, allocations: 0 / 297.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006942/0.05046, allocations: 487 kB / 297.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.05146, allocations: 215.1 kB / 298.1 MB, free: 6.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.05391, allocations: 1.352 MB / 299.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.05435, allocations: 346.6 kB / 299.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003198/0.05467, allocations: 108.9 kB / 299.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.05483, allocations: 60.48 kB / 300 MB, free: 4.871 MB / 282.7 MB Notification: Performance of SimCode: time 1.402e-06/0.05483, allocations: 0 / 300 MB, free: 4.871 MB / 282.7 MB Notification: Performance of Templates: time 0.1738/0.2287, allocations: 9.884 MB / 309.9 MB, free: 41.23 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.107545828912407]