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.001365/0.001365, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00151/0.00151, allocations: 206.8 kB / 23.73 MB, free: 4.379 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001585/0.001585, allocations: 47.92 kB / 377.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2534, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004524/0.258, allocations: 2.816 MB / 433.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.2605, allocations: 1.34 MB / 435.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.2607, allocations: 7.938 kB / 435.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000484/0.2612, allocations: 143.1 kB / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006295/0.2618, allocations: 214.7 kB / 435.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.2622, allocations: 143.6 kB / 435.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005628/0.2628, allocations: 442 kB / 436.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.2629, allocations: 84.95 kB / 436.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.2632, allocations: 183.3 kB / 436.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.2635, allocations: 195.2 kB / 436.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.2635, allocations: 28 kB / 436.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.2637, allocations: 59.92 kB / 436.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.2638, allocations: 79.69 kB / 436.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.2639, allocations: 155.2 kB / 436.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.2645, allocations: 462.5 kB / 437.4 MB, free: 312 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2645, allocations: 0 / 437.4 MB, free: 312 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2645, allocations: 0 / 437.4 MB, free: 312 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2645, allocations: 0 / 437.4 MB, free: 312 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.001047/0.2656, allocations: 0.615 MB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2656, allocations: 8.031 kB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.2657, allocations: 75.33 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.544e-05/0.2658, allocations: 52.59 kB / 438.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.2663, allocations: 262.2 kB / 438.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.2663, allocations: 21.03 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.2663, allocations: 31.92 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006658/0.267, allocations: 0.5311 MB / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.267, allocations: 0 / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.2671, allocations: 12 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2671, allocations: 8 kB / 439 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.2674, allocations: 182.5 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.2688, allocations: 0.779 MB / 439.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.2694, allocations: 250.8 kB / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.2696, allocations: 89.39 kB / 440.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.2696, allocations: 4.281 kB / 440.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003779/0.27, allocations: 273.4 kB / 440.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.27, allocations: 3.938 kB / 440.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002433/0.2724, allocations: 1.104 MB / 441.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.2725, allocations: 191.9 kB / 441.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.2729, allocations: 336.5 kB / 442.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.273, allocations: 33.7 kB / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.2731, allocations: 196.7 kB / 442.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.2733, allocations: 150.7 kB / 442.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.2734, allocations: 74.14 kB / 442.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2735, allocations: 350.7 kB / 443 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.2737, allocations: 92.83 kB / 443 MB, free: 10.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.274, allocations: 309.7 kB / 443.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.2745, allocations: 254.2 kB / 443.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2745, allocations: 3.938 kB / 443.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006544/0.2751, allocations: 354.5 kB / 443.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2751, allocations: 8 kB / 444 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2752, allocations: 0 / 444 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/0.2753, allocations: 24.84 kB / 444 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.2756, allocations: 83.97 kB / 444.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.2768, allocations: 1.299 MB / 445.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.277, allocations: 8 kB / 445.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.277, allocations: 16 kB / 445.4 MB, free: 7.715 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.000224/0.2773, allocations: 168.3 kB / 445.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.2773, allocations: 47.64 kB / 445.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006381/0.278, allocations: 338 kB / 445.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.278, allocations: 4 kB / 445.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.278, allocations: 4.094 kB / 445.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008116/0.2788, allocations: 0.6722 MB / 446.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.2801, allocations: 0.79 MB / 447.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2801, allocations: 0 / 447.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.2804, allocations: 75.91 kB / 447.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/0.2804, allocations: 7.984 kB / 447.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.2804, allocations: 8 kB / 447.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2804, allocations: 4 kB / 447.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2804, allocations: 8.062 kB / 447.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.2813, allocations: 0.5586 MB / 448.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.2814, allocations: 59.78 kB / 448.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.2814, allocations: 16 kB / 448.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.2817, allocations: 11.98 kB / 448.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.2817, allocations: 31.89 kB / 448.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.2818, allocations: 20.06 kB / 448.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.282, allocations: 243 kB / 448.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.282, allocations: 0 / 448.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004472/0.2825, allocations: 96 kB / 448.5 MB, free: 4.363 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.002671/0.2851, allocations: 1.452 MB / 450 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007429/0.2859, allocations: 362.8 kB / 450.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2859, allocations: 0 / 450.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.2861, allocations: 136.3 kB / 450.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.2867, allocations: 96.34 kB / 450.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/0.2917, allocations: 3.672 MB / 454.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.292, allocations: 204.2 kB / 454.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000178/0.2921, allocations: 47.25 kB / 454.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.2923, allocations: 131.4 kB / 454.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2923, allocations: 0 / 454.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04248/0.3348, allocations: 10.58 MB / 465.2 MB, free: 3.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.16, allocations: 4.062 kB / 465.2 MB, free: 3.848 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.83485712800757]