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.001519/0.001519, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001697/0.001697, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.425/1.425, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.00154/0.00154, allocations: 47.92 kB / 379 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2276, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004774/0.2324, allocations: 3.059 MB / 435.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.2351, allocations: 1.441 MB / 436.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.2353, allocations: 7.938 kB / 436.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.2358, allocations: 151.1 kB / 437 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005799/0.2364, allocations: 210.8 kB / 437.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.2367, allocations: 143.6 kB / 437.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005903/0.2373, allocations: 438.1 kB / 437.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.2375, allocations: 85 kB / 437.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.2377, allocations: 179.3 kB / 438.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.238, allocations: 203 kB / 438.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.2381, allocations: 28 kB / 438.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.2382, allocations: 55.98 kB / 438.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2383, allocations: 83.69 kB / 438.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.2385, allocations: 186.9 kB / 438.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.2391, allocations: 459.4 kB / 439.1 MB, free: 252 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2391, allocations: 0 / 439.1 MB, free: 252 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2391, allocations: 0 / 439.1 MB, free: 252 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.2391, allocations: 0 / 439.1 MB, free: 252 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.001087/0.2402, allocations: 0.6228 MB / 439.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2402, allocations: 8.031 kB / 439.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.483e-05/0.2403, allocations: 48.66 kB / 439.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.2408, allocations: 270.9 kB / 440 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.2408, allocations: 16.88 kB / 440 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.2409, allocations: 32.06 kB / 440 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.2414, allocations: 294.1 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.2414, allocations: 0 / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.2415, allocations: 12 kB / 440.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2415, allocations: 8 kB / 440.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.2418, allocations: 177.9 kB / 440.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.2432, allocations: 0.8004 MB / 441.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.2437, allocations: 247.4 kB / 441.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.2439, allocations: 90.23 kB / 441.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.2439, allocations: 4.281 kB / 441.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.2442, allocations: 169.7 kB / 441.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.2442, allocations: 4 kB / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002298/0.2465, allocations: 1.095 MB / 442.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.2467, allocations: 199.9 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.2471, allocations: 324.6 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.2471, allocations: 37.7 kB / 443.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.2473, allocations: 184.8 kB / 443.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.2474, allocations: 146.8 kB / 443.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.2475, allocations: 74.14 kB / 443.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.2477, allocations: 346.8 kB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.2478, allocations: 92.83 kB / 444.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.2481, allocations: 181.2 kB / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.2485, allocations: 250.2 kB / 444.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2485, allocations: 0 / 444.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006121/0.2491, allocations: 354.5 kB / 445.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2491, allocations: 8 kB / 445.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2491, allocations: 7.875 kB / 445.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.638e-05/0.2492, allocations: 24.84 kB / 445.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.2496, allocations: 88.02 kB / 445.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.2508, allocations: 1.287 MB / 446.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.251, allocations: 20.08 kB / 446.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.251, allocations: 12 kB / 446.5 MB, free: 8.316 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.0002091/0.2512, allocations: 174.5 kB / 446.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.2513, allocations: 39.77 kB / 446.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/0.2519, allocations: 342.2 kB / 447.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.2519, allocations: 7.984 kB / 447.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2519, allocations: 3.938 kB / 447.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006924/0.2526, allocations: 0.6537 MB / 447.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.2538, allocations: 0.8141 MB / 448.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.2538, allocations: 8.125 kB / 448.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.2542, allocations: 79.89 kB / 448.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2542, allocations: 0 / 448.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.2542, allocations: 8 kB / 448.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2542, allocations: 4 kB / 448.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2542, allocations: 0 / 448.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000786/0.255, allocations: 0.5543 MB / 449.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.2551, allocations: 59.78 kB / 449.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.2552, allocations: 8 kB / 449.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.2554, allocations: 19.98 kB / 449.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.2554, allocations: 27.95 kB / 449.3 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.2555, allocations: 12 kB / 449.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002626/0.2557, allocations: 247 kB / 449.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2557, allocations: 0 / 449.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.2561, allocations: 99.88 kB / 449.6 MB, free: 4.969 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 (40): * Single equations (assignments): 38 * 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.001549/0.2577, allocations: 422.3 kB / 450.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006683/0.2584, allocations: 359.5 kB / 450.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.2584, allocations: 4 kB / 450.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.2586, allocations: 123.7 kB / 450.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.2591, allocations: 92.72 kB / 450.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.261, allocations: 1.074 MB / 451.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.2614, allocations: 0.8078 MB / 452.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.2615, allocations: 39.44 kB / 452.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2615, allocations: 0 / 452.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of Templates: time 0.009349/0.2709, allocations: 5.809 MB / 458.4 MB, free: 12.36 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: 7.575121214846149]