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.002412/0.002412, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.002783/0.002783, allocations: 160.8 kB / 24.27 MB, free: 152 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.699/1.699, allocations: 177 MB / 204.5 MB, free: 5.617 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.342e-06/1.342e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.849e-05, allocations: 6.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.00489/0.004918, allocations: 2.529 MB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004201/0.009119, allocations: 1.885 MB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004432/0.009562, allocations: 7.938 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.01115, allocations: 0.549 MB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.01255, allocations: 0.5019 MB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.01419, allocations: 0.5533 MB / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.01558, allocations: 0.8297 MB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.01583, allocations: 62.16 kB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009841/0.01681, allocations: 442.9 kB / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006717/0.01748, allocations: 363.1 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.01761, allocations: 44 kB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005606/0.01818, allocations: 239.6 kB / 280.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.01847, allocations: 215.3 kB / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.01879, allocations: 183.4 kB / 280.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.02021, allocations: 0.915 MB / 281.5 MB, free: 8.484 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.02021, allocations: 0 / 281.5 MB, free: 8.484 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02021, allocations: 0 / 281.5 MB, free: 8.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.179e-05/0.02026, allocations: 0 / 281.5 MB, free: 8.484 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.002248/0.02251, allocations: 1.336 MB / 282.8 MB, free: 7.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.02255, allocations: 11.98 kB / 282.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.02275, allocations: 104.4 kB / 282.9 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009284/0.02368, allocations: 0.5268 MB / 283.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.02372, allocations: 24.36 kB / 283.5 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.02377, allocations: 20.38 kB / 283.5 MB, free: 6.355 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007245/0.02449, allocations: 429.8 kB / 283.9 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.02451, allocations: 4.188 kB / 283.9 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.02454, allocations: 12.38 kB / 283.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.02457, allocations: 19.91 kB / 283.9 MB, free: 5.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.02501, allocations: 228.9 kB / 284.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.02723, allocations: 1.649 MB / 285.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008557/0.02808, allocations: 405.9 kB / 286.2 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.02843, allocations: 227.8 kB / 286.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.02846, allocations: 8 kB / 286.4 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007576/0.02922, allocations: 0.5367 MB / 287 MB, free: 2.535 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.773e-06/0.02922, allocations: 0 / 287 MB, free: 2.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001633/0.03085, allocations: 0.8399 MB / 287.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002823/0.03114, allocations: 362.1 kB / 288.2 MB, free: 1.199 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.03252, allocations: 0.9759 MB / 289.2 MB, free: 208 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.417e-05/0.03258, allocations: 41.7 kB / 289.2 MB, free: 160 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005203/0.0331, allocations: 435.6 kB / 289.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.03325, allocations: 131.2 kB / 289.7 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.03346, allocations: 123.8 kB / 289.9 MB, free: 15.47 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000324/0.03379, allocations: 0.5082 MB / 290.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.03413, allocations: 194 kB / 290.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.03477, allocations: 0.539 MB / 291.1 MB, free: 14.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000844/0.03562, allocations: 0.5833 MB / 291.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.03562, allocations: 0 / 291.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001277/0.0369, allocations: 0.6904 MB / 292.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.037, allocations: 101 kB / 292.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.03701, allocations: 4.047 kB / 292.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.03704, allocations: 12.27 kB / 292.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.03731, allocations: 63.91 kB / 292.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/0.03733, allocations: 15.86 kB / 292.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.03763, allocations: 47.77 kB / 292.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.03769, allocations: 20 kB / 292.6 MB, free: 12.37 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.0004235/0.03811, allocations: 349.6 kB / 293 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.03828, allocations: 103.5 kB / 293.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.03936, allocations: 0.5676 MB / 293.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.03937, allocations: 4 kB / 293.7 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/0.03939, allocations: 7.938 kB / 293.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.03939, allocations: 0 / 293.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.04111, allocations: 1.101 MB / 294.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.04112, allocations: 4 kB / 294.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.04124, allocations: 23.98 kB / 294.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.04125, allocations: 4 kB / 294.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.04129, allocations: 19.98 kB / 294.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.0413, allocations: 15.88 kB / 294.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.04131, allocations: 0 / 294.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.04274, allocations: 0.9178 MB / 295.7 MB, free: 9.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.04292, allocations: 83.41 kB / 295.8 MB, free: 8.988 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.04304, allocations: 27.92 kB / 295.9 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.04327, allocations: 19.98 kB / 295.9 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.04341, allocations: 47.88 kB / 295.9 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.04346, allocations: 23.98 kB / 295.9 MB, free: 8.871 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009098/0.04437, allocations: 0.5888 MB / 296.5 MB, free: 8.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04437, allocations: 0 / 296.5 MB, free: 8.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007126/0.04508, allocations: 155.8 kB / 296.7 MB, free: 8.129 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.003138/0.04822, allocations: 0.523 MB / 297.2 MB, free: 7.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.0495, allocations: 0.7194 MB / 297.9 MB, free: 6.953 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.0495, allocations: 0.5625 kB / 297.9 MB, free: 6.953 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.05013, allocations: 470.8 kB / 298.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.05124, allocations: 202 kB / 298.6 MB, free: 6.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.05346, allocations: 1.179 MB / 299.8 MB, free: 4.996 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.05388, allocations: 334.6 kB / 300.1 MB, free: 4.641 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002935/0.05418, allocations: 105.2 kB / 300.2 MB, free: 4.539 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.05433, allocations: 60.48 kB / 300.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.05434, allocations: 0 / 300.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of Templates: time 0.1299/0.1843, allocations: 9.845 MB / 310.1 MB, free: 40.89 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","/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: 4.989146755891852]