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.001328/0.001328, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001449/0.001449, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.437/1.437, allocations: 230.6 MB / 258.2 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.001632/0.001632, allocations: 47.92 kB / 378.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2069, 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.004435/0.2114, allocations: 2.828 MB / 435.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.2136, allocations: 1.336 MB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.2138, allocations: 7.938 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.2142, allocations: 147.1 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004927/0.2147, allocations: 214.7 kB / 436.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.215, allocations: 139.6 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005063/0.2155, allocations: 446 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2157, allocations: 84.67 kB / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.2159, allocations: 179.3 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.2161, allocations: 199.1 kB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.527e-05/0.2162, allocations: 28 kB / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.2163, allocations: 59.94 kB / 438 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.2164, allocations: 83.67 kB / 438 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.2166, allocations: 147.3 kB / 438.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005207/0.2171, allocations: 465 kB / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2171, allocations: 0 / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2171, allocations: 0 / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.2171, allocations: 0 / 438.6 MB, free: 388 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.001064/0.2182, allocations: 0.6227 MB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.2182, allocations: 8.031 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.682e-05/0.2183, allocations: 48.66 kB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.2187, allocations: 254.3 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.2188, allocations: 20.88 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.2188, allocations: 28.12 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.2195, allocations: 0.521 MB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.2195, allocations: 0 / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.2195, allocations: 12 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.2195, allocations: 8 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.2199, allocations: 173.9 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.2212, allocations: 0.7035 MB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.2218, allocations: 251.9 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.222, allocations: 90.17 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.222, allocations: 4.281 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003747/0.2224, allocations: 272.6 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.2224, allocations: 0 / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002351/0.2247, allocations: 1.115 MB / 442.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.2248, allocations: 191.9 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.2252, allocations: 332.5 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.2252, allocations: 33.7 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2254, allocations: 188.7 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.2255, allocations: 150.7 kB / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.2256, allocations: 78.12 kB / 443.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.2258, allocations: 346.8 kB / 444 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.226, allocations: 88.83 kB / 444.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.2263, allocations: 313.8 kB / 444.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.2268, allocations: 246.2 kB / 444.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2268, allocations: 0 / 444.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000598/0.2274, allocations: 362.4 kB / 445 MB, free: 9.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2274, allocations: 8 kB / 445 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2274, allocations: 4.125 kB / 445 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.817e-05/0.2275, allocations: 16.92 kB / 445 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.2278, allocations: 99.83 kB / 445.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.229, allocations: 1.252 MB / 446.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.2292, allocations: 19.98 kB / 446.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.2292, allocations: 16.03 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.0001859/0.2294, allocations: 174.4 kB / 446.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-05/0.2294, allocations: 35.77 kB / 446.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006415/0.2301, allocations: 342 kB / 447 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2301, allocations: 4 kB / 447 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.2301, allocations: 0 / 447 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006966/0.2308, allocations: 0.6722 MB / 447.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.2319, allocations: 0.7359 MB / 448.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2319, allocations: 0 / 448.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.2323, allocations: 83.78 kB / 448.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2323, allocations: 4 kB / 448.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.2323, allocations: 11.94 kB / 448.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.2323, allocations: 4 kB / 448.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2323, allocations: 0 / 448.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/0.2332, allocations: 0.551 MB / 449 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.2333, allocations: 67.61 kB / 449.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.2334, allocations: 16.11 kB / 449.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.2336, allocations: 16 kB / 449.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.2337, allocations: 28.08 kB / 449.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.2337, allocations: 19.97 kB / 449.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.234, allocations: 243.1 kB / 449.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.234, allocations: 0 / 449.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004132/0.2344, allocations: 99.92 kB / 449.5 MB, free: 4.742 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.001658/0.2361, allocations: 453 kB / 450 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006513/0.2367, allocations: 362.3 kB / 450.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2367, allocations: 0 / 450.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.237, allocations: 136.3 kB / 450.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/0.2375, allocations: 97.41 kB / 450.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.2392, allocations: 1.043 MB / 451.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.2394, allocations: 195.7 kB / 451.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.2396, allocations: 47.25 kB / 451.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.2397, allocations: 31.44 kB / 451.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2397, allocations: 0 / 451.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of Templates: time 0.01188/0.2516, allocations: 6.088 MB / 457.9 MB, free: 12.54 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 -s gbode -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.462958588002948]