Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 55.86 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2858, allocations: 53.35 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004492/0.2903, allocations: 2.441 MB / 434.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003778/0.2941, allocations: 1.843 MB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.2943, allocations: 15.88 kB / 436.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.2957, allocations: 0.5531 MB / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.2969, allocations: 0.5057 MB / 437.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.2985, allocations: 0.5592 MB / 438.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.2996, allocations: 0.8221 MB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.2998, allocations: 65.92 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.3002, allocations: 346.7 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005706/0.3008, allocations: 398.5 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.542e-05/0.3008, allocations: 44 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005026/0.3013, allocations: 247.7 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.3016, allocations: 219.2 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.3019, allocations: 230.5 kB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.303, allocations: 0.8977 MB / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.303, allocations: 0 / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.303, allocations: 4 kB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.303, allocations: 0 / 441.5 MB, free: 13.55 MB / 350.1 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.001969/0.305, allocations: 1.178 MB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.305, allocations: 8.031 kB / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.3052, allocations: 84.42 kB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009251/0.3061, allocations: 0.5365 MB / 443.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.3062, allocations: 20.36 kB / 443.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.3062, allocations: 36.09 kB / 443.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.3069, allocations: 442.1 kB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.307, allocations: 0 / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.307, allocations: 12 kB / 443.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.307, allocations: 8 kB / 443.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/0.3075, allocations: 284.9 kB / 444.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.3092, allocations: 1.204 MB / 445.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008282/0.31, allocations: 439.8 kB / 445.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/0.3104, allocations: 252.5 kB / 445.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.3104, allocations: 11.88 kB / 446 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007828/0.3112, allocations: 0.5472 MB / 446.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.3112, allocations: 0 / 446.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001765/0.313, allocations: 0.9548 MB / 447.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002402/0.3132, allocations: 354.1 kB / 447.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.3146, allocations: 0.985 MB / 448.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.3146, allocations: 41.7 kB / 448.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.3149, allocations: 316.9 kB / 449.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.3151, allocations: 115.2 kB / 449.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.3152, allocations: 98.11 kB / 449.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3154, allocations: 326 kB / 449.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.3158, allocations: 250 kB / 449.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.3164, allocations: 0.5393 MB / 450.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/0.3173, allocations: 0.6049 MB / 451 MB, free: 3.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3173, allocations: 0 / 451 MB, free: 3.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001406/0.3187, allocations: 0.7962 MB / 451.8 MB, free: 2.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.3188, allocations: 97.09 kB / 451.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.3189, allocations: 11.98 kB / 452 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.3189, allocations: 4 kB / 452 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.3192, allocations: 63.84 kB / 452 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3192, allocations: 7.938 kB / 452 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.3195, allocations: 52.05 kB / 452.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.3195, allocations: 20 kB / 452.1 MB, free: 2.082 MB / 350.1 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.0005353/0.3201, allocations: 394.7 kB / 452.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.3202, allocations: 87.42 kB / 452.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.3214, allocations: 0.6177 MB / 453.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3214, allocations: 8 kB / 453.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3214, allocations: 0 / 453.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3214, allocations: 3.984 kB / 453.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.3229, allocations: 0.9378 MB / 454.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3229, allocations: 0 / 454.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.323, allocations: 31.92 kB / 454.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.323, allocations: 4 kB / 454.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.3231, allocations: 19.98 kB / 454.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3231, allocations: 4 kB / 454.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3231, allocations: 4 kB / 454.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.3245, allocations: 0.9286 MB / 455.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.3247, allocations: 79.41 kB / 455.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.3248, allocations: 24 kB / 455.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.3251, allocations: 23.97 kB / 455.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.3252, allocations: 35.95 kB / 455.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.3253, allocations: 23.98 kB / 455.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009739/0.3262, allocations: 0.7101 MB / 456 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3262, allocations: 0 / 456 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000658/0.3269, allocations: 159.8 kB / 456.2 MB, free: 13.82 MB / 366.1 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.001932/0.3288, allocations: 0.5219 MB / 456.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.3302, allocations: 0.7735 MB / 457.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3302, allocations: 0 / 457.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.3308, allocations: 475.1 kB / 457.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009856/0.3318, allocations: 178.8 kB / 458.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.3343, allocations: 1.389 MB / 459.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3347, allocations: 350.8 kB / 459.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3348, allocations: 59.42 kB / 459.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3348, allocations: 0 / 459.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of Templates: time 0.01714/0.352, allocations: 10.35 MB / 470.2 MB, free: 15.74 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.614322735986207]