Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 107.5 kB / 20.44 MB, free: 1.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 193.2 kB / 23.71 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 51.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2282, allocations: 52.19 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00439/0.2326, allocations: 2.807 MB / 425.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.2348, allocations: 1.196 MB / 427.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.2349, allocations: 11.94 kB / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.2354, allocations: 131.2 kB / 427.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.2358, allocations: 182.9 kB / 427.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.2362, allocations: 175.5 kB / 427.6 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.2367, allocations: 430.1 kB / 428 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.2369, allocations: 67.95 kB / 428 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.2371, allocations: 179.3 kB / 428.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.2374, allocations: 171.2 kB / 428.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.867e-05/0.2375, allocations: 28 kB / 428.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.2376, allocations: 63.92 kB / 428.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2377, allocations: 83.69 kB / 428.6 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.2379, allocations: 151.2 kB / 428.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.2384, allocations: 452.3 kB / 429.1 MB, free: 8.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2384, allocations: 0 / 429.1 MB, free: 8.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2384, allocations: 4 kB / 429.1 MB, free: 8.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2384, allocations: 0 / 429.1 MB, free: 8.348 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001062/0.2395, allocations: 0.611 MB / 429.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2395, allocations: 8.031 kB / 429.8 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.2396, allocations: 52.66 kB / 429.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.2401, allocations: 258.3 kB / 430.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.2401, allocations: 16.88 kB / 430.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.2402, allocations: 32.12 kB / 430.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.2408, allocations: 0.5287 MB / 430.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2408, allocations: 0 / 430.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.2408, allocations: 12 kB / 430.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.2408, allocations: 4 kB / 430.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.2412, allocations: 177.9 kB / 430.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.2425, allocations: 0.7073 MB / 431.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.243, allocations: 239.9 kB / 431.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.2432, allocations: 94.23 kB / 431.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.2432, allocations: 4.281 kB / 431.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.2436, allocations: 276.6 kB / 432.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.2436, allocations: 0 / 432.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00225/0.2458, allocations: 1.091 MB / 433.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.246, allocations: 187.9 kB / 433.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.2463, allocations: 324.5 kB / 433.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.2464, allocations: 33.7 kB / 433.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.2465, allocations: 188.7 kB / 434 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.2466, allocations: 146.7 kB / 434.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.2467, allocations: 78.09 kB / 434.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2469, allocations: 346.8 kB / 434.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.2471, allocations: 88.83 kB / 434.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.2474, allocations: 309.8 kB / 434.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.2478, allocations: 254.2 kB / 435.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2478, allocations: 0 / 435.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000587/0.2484, allocations: 358.4 kB / 435.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2484, allocations: 6.188 kB / 435.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2484, allocations: 4 kB / 435.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-05/0.2485, allocations: 20.84 kB / 435.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.2489, allocations: 95.77 kB / 435.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.25, allocations: 1.256 MB / 436.9 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.2502, allocations: 16.03 kB / 436.9 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.2502, allocations: 15.94 kB / 436.9 MB, free: 24 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.2504, allocations: 165.7 kB / 437.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.2505, allocations: 39.77 kB / 437.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006207/0.2511, allocations: 342 kB / 437.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2511, allocations: 8 kB / 437.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.2511, allocations: 0 / 437.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006957/0.2518, allocations: 0.6683 MB / 438.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.253, allocations: 0.7336 MB / 438.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.253, allocations: 4 kB / 438.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.2533, allocations: 83.84 kB / 438.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2533, allocations: 3.938 kB / 438.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.2534, allocations: 20.05 kB / 439 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.2534, allocations: 4 kB / 439 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2534, allocations: 0 / 439 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/0.2542, allocations: 0.551 MB / 439.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.2543, allocations: 67.72 kB / 439.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.2544, allocations: 11.94 kB / 439.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.2546, allocations: 19.98 kB / 439.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.2547, allocations: 23.95 kB / 439.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.2547, allocations: 12 kB / 439.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002721/0.255, allocations: 239.1 kB / 439.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.255, allocations: 0 / 439.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.2554, allocations: 91.98 kB / 440 MB, free: 12.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001661/0.257, allocations: 462.1 kB / 440.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006562/0.2577, allocations: 363 kB / 440.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2577, allocations: 256 / 440.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.2579, allocations: 139.5 kB / 440.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.2585, allocations: 96.39 kB / 441 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.2602, allocations: 1.039 MB / 442 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.2605, allocations: 199.6 kB / 442.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.2606, allocations: 39.28 kB / 442.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.2607, allocations: 35.42 kB / 442.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2607, allocations: 0 / 442.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Templates: time 0.01191/0.2726, allocations: 5.93 MB / 448.2 MB, free: 4.715 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.717467797920108]