Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.001794/0.001794, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.00217/0.00217, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.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.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2097, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004533/0.2142, allocations: 2.827 MB / 435.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.2165, allocations: 1.344 MB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.2166, allocations: 4 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.217, allocations: 139.2 kB / 436.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.2176, allocations: 218.7 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.2178, allocations: 143.5 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005154/0.2184, allocations: 442 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.2185, allocations: 84.67 kB / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.2187, allocations: 183.3 kB / 437.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.219, allocations: 195.1 kB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.2191, allocations: 32 kB / 437.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.2192, allocations: 56 kB / 438 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.2193, allocations: 83.67 kB / 438 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.2195, allocations: 155.2 kB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.22, allocations: 461.1 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.22, allocations: 0 / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.22, allocations: 0 / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.22, allocations: 0 / 438.6 MB, free: 384 kB / 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.001067/0.2211, allocations: 0.6188 MB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2211, allocations: 12.03 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.2212, allocations: 44.66 kB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.2217, allocations: 258.4 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2217, allocations: 16.88 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.2218, allocations: 28.12 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006458/0.2224, allocations: 0.517 MB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.2224, allocations: 4 kB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.2225, allocations: 12 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2225, allocations: 8 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.2228, allocations: 173.9 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2241, allocations: 0.7113 MB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.2246, allocations: 247.8 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.2248, allocations: 90.23 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.2248, allocations: 4.281 kB / 441.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000368/0.2252, allocations: 276.5 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.943e-06/0.2252, allocations: 0 / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002311/0.2275, allocations: 1.111 MB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.2276, allocations: 187.9 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.228, allocations: 336.6 kB / 443.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.228, allocations: 29.7 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.2282, allocations: 192.7 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.2283, allocations: 146.7 kB / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2284, allocations: 74.12 kB / 443.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2286, allocations: 350.8 kB / 444 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.2288, allocations: 88.83 kB / 444.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.2291, allocations: 309.8 kB / 444.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.2295, allocations: 258.1 kB / 444.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2295, allocations: 0 / 444.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006061/0.2301, allocations: 362.5 kB / 445 MB, free: 9.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2302, allocations: 4 kB / 445 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2302, allocations: 0 / 445 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.382e-05/0.2302, allocations: 20.8 kB / 445.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.2306, allocations: 88.02 kB / 445.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.2317, allocations: 1.264 MB / 446.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.2319, allocations: 19.98 kB / 446.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.232, allocations: 12 kB / 446.4 MB, free: 8.023 MB / 350.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.0001869/0.2321, allocations: 168.3 kB / 446.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.2322, allocations: 43.75 kB / 446.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006405/0.2329, allocations: 342.1 kB / 447 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007124/0.2336, allocations: 0.6645 MB / 447.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2336, allocations: 0 / 447.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.2337, allocations: 63.72 kB / 447.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.2338, allocations: 15.94 kB / 447.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.234, allocations: 11.98 kB / 447.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.234, allocations: 31.94 kB / 447.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008443/0.2349, allocations: 428.9 kB / 448.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000876/0.2357, allocations: 0.6153 MB / 448.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002189/0.236, allocations: 112.3 kB / 448.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002543/0.2362, allocations: 243 kB / 449.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.2362, allocations: 0 / 449.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002371/0.2386, allocations: 0.6871 MB / 449.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of SimCode: time 0.001799/0.2404, allocations: 1.439 MB / 451.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of Templates: time 0.01206/0.2524, allocations: 6.526 MB / 457.8 MB, free: 12.75 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.384613510002964]