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.001313/0.001313, allocations: 112 kB / 20.43 MB, free: 1.457 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.001373/0.001373, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.396/1.396, allocations: 225.6 MB / 252.5 MB, free: 13.02 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_0_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: 48.05 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2438, allocations: 52.2 MB / 422.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004627/0.2484, allocations: 3.04 MB / 425.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.2507, allocations: 1.274 MB / 426.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.2508, allocations: 7.938 kB / 426.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004643/0.2513, allocations: 143.2 kB / 427.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.2517, allocations: 178.9 kB / 427.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.2522, allocations: 183.5 kB / 427.4 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005402/0.2527, allocations: 426.1 kB / 427.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.2529, allocations: 75.95 kB / 427.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.2531, allocations: 187.3 kB / 428.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.2534, allocations: 187.2 kB / 428.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.2535, allocations: 32 kB / 428.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.2536, allocations: 56 kB / 428.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2537, allocations: 83.67 kB / 428.5 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.2539, allocations: 187 kB / 428.6 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.2545, allocations: 446.5 kB / 429.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2545, allocations: 4 kB / 429.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2545, allocations: 0 / 429.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2545, allocations: 0 / 429.1 MB, free: 8.262 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.001049/0.2555, allocations: 0.6149 MB / 429.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2556, allocations: 8.031 kB / 429.7 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.2557, allocations: 71.33 kB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.2558, allocations: 48.66 kB / 429.8 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.2563, allocations: 267 kB / 430.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.2563, allocations: 21.02 kB / 430.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/0.2564, allocations: 35.88 kB / 430.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.2569, allocations: 304.5 kB / 430.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2569, allocations: 4 kB / 430.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.2569, allocations: 16 kB / 430.5 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.257, allocations: 8 kB / 430.5 MB, free: 6.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.2573, allocations: 182.5 kB / 430.6 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.2587, allocations: 0.822 MB / 431.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.2593, allocations: 243.4 kB / 431.7 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.2595, allocations: 90.23 kB / 431.8 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.2595, allocations: 4.281 kB / 431.8 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.2598, allocations: 173.7 kB / 432 MB, free: 5.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 2.103e-06/0.2598, allocations: 3.938 kB / 432 MB, free: 5.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002348/0.2622, allocations: 1.095 MB / 433.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.2623, allocations: 183.9 kB / 433.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.2627, allocations: 324.5 kB / 433.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.2627, allocations: 37.7 kB / 433.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.2629, allocations: 192.7 kB / 433.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.263, allocations: 146.8 kB / 433.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.2631, allocations: 70.14 kB / 434 MB, free: 3.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2633, allocations: 354.7 kB / 434.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.2635, allocations: 88.83 kB / 434.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.2637, allocations: 177.3 kB / 434.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.2641, allocations: 246.2 kB / 434.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2641, allocations: 0 / 434.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006122/0.2648, allocations: 358.5 kB / 435.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2648, allocations: 4 kB / 435.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2648, allocations: 4.125 kB / 435.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/0.2649, allocations: 24.84 kB / 435.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.2652, allocations: 91.95 kB / 435.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.2664, allocations: 1.287 MB / 436.6 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2667, allocations: 20.02 kB / 436.6 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.2667, allocations: 12 kB / 436.6 MB, free: 236 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.0002397/0.2669, allocations: 161.7 kB / 436.8 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.267, allocations: 51.78 kB / 436.8 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/0.2676, allocations: 330.2 kB / 437.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2676, allocations: 8 kB / 437.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2677, allocations: 0 / 437.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006862/0.2683, allocations: 0.6615 MB / 437.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.2696, allocations: 0.8218 MB / 438.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2696, allocations: 0 / 438.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.2699, allocations: 75.89 kB / 438.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.2699, allocations: 4 kB / 438.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.2699, allocations: 12 kB / 438.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2699, allocations: 3.938 kB / 438.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2699, allocations: 4 kB / 438.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/0.2707, allocations: 0.5428 MB / 439.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.2709, allocations: 63.78 kB / 439.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.2709, allocations: 8 kB / 439.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.2711, allocations: 19.92 kB / 439.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.2712, allocations: 35.83 kB / 439.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.2712, allocations: 16.12 kB / 439.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002517/0.2715, allocations: 235.1 kB / 439.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2715, allocations: 0 / 439.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004221/0.2719, allocations: 91.98 kB / 439.8 MB, free: 12.89 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.002745/0.2746, allocations: 1.416 MB / 441.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007461/0.2754, allocations: 374.8 kB / 441.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2754, allocations: 0 / 441.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.2756, allocations: 123.8 kB / 441.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.2763, allocations: 88.92 kB / 441.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.2813, allocations: 3.643 MB / 445.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.2817, allocations: 0.804 MB / 446.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.2819, allocations: 51.23 kB / 446.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.2821, allocations: 135.3 kB / 446.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of SimCode: time 1.402e-06/0.2821, allocations: 0 / 446.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04203/0.3241, allocations: 9.618 MB / 456 MB, free: 12.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.29, allocations: 7.922 kB / 456 MB, free: 12.73 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/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] "Error: Could not read variable cylinder1.H in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.H from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder1.m in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.m from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder2.H in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder2.H from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.s_rel in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.s_rel from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.v_rel in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.v_rel from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.756096491997596]