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.00153/0.00153, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001575/0.001575, allocations: 209.3 kB / 23.72 MB, free: 4.391 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.789 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 51.86 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.242, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004519/0.2465, allocations: 2.828 MB / 433.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.2491, allocations: 1.34 MB / 435.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.2493, allocations: 7.938 kB / 435.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.2498, allocations: 139.1 kB / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005277/0.2503, allocations: 218.7 kB / 435.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.2506, allocations: 143.6 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.2511, allocations: 442.1 kB / 436.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.2513, allocations: 74.7 kB / 436.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.2516, allocations: 179.3 kB / 436.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.2518, allocations: 175.2 kB / 436.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.2519, allocations: 28 kB / 436.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.252, allocations: 56 kB / 436.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.2521, allocations: 91.61 kB / 436.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.2523, allocations: 151.2 kB / 436.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005647/0.2529, allocations: 462.1 kB / 437.4 MB, free: 336 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2529, allocations: 0 / 437.4 MB, free: 336 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.2529, allocations: 0 / 437.4 MB, free: 336 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2529, allocations: 0 / 437.4 MB, free: 336 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.001173/0.2541, allocations: 0.6227 MB / 438 MB, free: 15.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.2541, allocations: 8.031 kB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.2542, allocations: 75.33 kB / 438.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.965e-05/0.2543, allocations: 48.66 kB / 438.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.2549, allocations: 262.2 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.2549, allocations: 21.03 kB / 438.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.2549, allocations: 31.92 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000678/0.2556, allocations: 0.5349 MB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2556, allocations: 7.953 kB / 439 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.2557, allocations: 12 kB / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.2557, allocations: 8 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.256, allocations: 178.5 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.2573, allocations: 0.7635 MB / 439.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.2579, allocations: 247.9 kB / 440.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.258, allocations: 93.38 kB / 440.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.2581, allocations: 4.281 kB / 440.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003728/0.2584, allocations: 277.3 kB / 440.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.2585, allocations: 0 / 440.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002293/0.2607, allocations: 1.111 MB / 441.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.2609, allocations: 187.9 kB / 441.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.2612, allocations: 340.5 kB / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.2613, allocations: 33.7 kB / 442.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.2614, allocations: 192.7 kB / 442.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.2615, allocations: 150.7 kB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.2616, allocations: 74.12 kB / 442.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2618, allocations: 354.7 kB / 442.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.262, allocations: 88.83 kB / 443 MB, free: 10.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.2623, allocations: 313.7 kB / 443.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.2627, allocations: 258.2 kB / 443.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2627, allocations: 0 / 443.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005949/0.2633, allocations: 358.5 kB / 443.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2633, allocations: 4 kB / 443.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2633, allocations: 128 / 443.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.605e-05/0.2634, allocations: 24.86 kB / 444 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.2638, allocations: 87.95 kB / 444 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.2649, allocations: 1.291 MB / 445.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.265, allocations: 11.98 kB / 445.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.2651, allocations: 16 kB / 445.4 MB, free: 7.73 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.0001883/0.2653, allocations: 171 kB / 445.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.2653, allocations: 47.69 kB / 445.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005985/0.2659, allocations: 337.9 kB / 445.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2659, allocations: 8 kB / 445.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.2659, allocations: 0 / 445.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006607/0.2666, allocations: 0.6567 MB / 446.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.2678, allocations: 0.8017 MB / 447.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2678, allocations: 0 / 447.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.2681, allocations: 75.91 kB / 447.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.2681, allocations: 4 kB / 447.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.2682, allocations: 8 kB / 447.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.2682, allocations: 7.984 kB / 447.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2682, allocations: 0 / 447.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008026/0.269, allocations: 0.5664 MB / 448 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.2691, allocations: 59.78 kB / 448.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.2692, allocations: 12.06 kB / 448.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.2694, allocations: 16 kB / 448.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.2694, allocations: 31.88 kB / 448.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.2695, allocations: 16.12 kB / 448.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.2697, allocations: 243 kB / 448.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2697, allocations: 0 / 448.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.2701, allocations: 92 kB / 448.5 MB, free: 4.391 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.002658/0.2728, allocations: 1.466 MB / 450 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000651/0.2734, allocations: 358.9 kB / 450.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2734, allocations: 0 / 450.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.2737, allocations: 135.8 kB / 450.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/0.2743, allocations: 100.9 kB / 450.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.2792, allocations: 3.657 MB / 454.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.2794, allocations: 216.2 kB / 454.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.2796, allocations: 47.25 kB / 454.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.2797, allocations: 131.4 kB / 454.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2797, allocations: 0 / 454.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0417/0.3214, allocations: 10.45 MB / 465 MB, free: 3.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.26, allocations: 4.062 kB / 465 MB, free: 3.984 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv","/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] "Error: Could not read variable cylinder1.H in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.H from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder1.m in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.m from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder2.H in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder2.H from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.s_rel in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.s_rel from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.v_rel in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.v_rel from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.88445467595011]