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.001905/0.001905, allocations: 123 kB / 17.79 MB, free: 5.281 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.002066/0.002066, allocations: 189.2 kB / 20.73 MB, free: 2.352 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.471/1.471, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.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.001518/0.001518, allocations: 47.92 kB / 365.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09745/0.09897, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004773/0.1037, allocations: 3.018 MB / 420.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.1061, allocations: 1.278 MB / 422.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.1062, allocations: 7.938 kB / 422.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.1067, allocations: 147.2 kB / 422.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004552/0.1072, allocations: 170.9 kB / 422.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.1076, allocations: 175.5 kB / 422.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.1082, allocations: 438 kB / 423 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.1084, allocations: 67.48 kB / 423 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.1086, allocations: 187.3 kB / 423.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.1089, allocations: 183.2 kB / 423.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.1089, allocations: 28 kB / 423.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.1091, allocations: 63.92 kB / 423.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1092, allocations: 87.61 kB / 423.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.1093, allocations: 183 kB / 423.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005772/0.1099, allocations: 450 kB / 424.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1099, allocations: 0 / 424.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1099, allocations: 0 / 424.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1099, allocations: 0 / 424.2 MB, free: 6.168 MB / 350.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.001095/0.111, allocations: 0.6864 MB / 424.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1111, allocations: 8.031 kB / 424.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.1112, allocations: 75.23 kB / 425 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.1113, allocations: 44.66 kB / 425 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.1118, allocations: 340 kB / 425.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.1118, allocations: 16.94 kB / 425.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.1118, allocations: 31.94 kB / 425.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.1124, allocations: 303.1 kB / 425.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.1124, allocations: 4 kB / 425.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.1124, allocations: 16 kB / 425.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1125, allocations: 11.98 kB / 425.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.1128, allocations: 178.1 kB / 425.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.1143, allocations: 0.8523 MB / 426.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/0.1148, allocations: 247.4 kB / 427 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.115, allocations: 93.38 kB / 427.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.1151, allocations: 8.219 kB / 427.1 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.1154, allocations: 165.7 kB / 427.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.1154, allocations: 0 / 427.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00259/0.118, allocations: 1.321 MB / 428.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.1181, allocations: 183.9 kB / 428.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.1185, allocations: 332.5 kB / 429.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.1186, allocations: 33.7 kB / 429.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.1187, allocations: 188.7 kB / 429.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.1188, allocations: 146.7 kB / 429.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.119, allocations: 74.12 kB / 429.5 MB, free: 476 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1191, allocations: 354.7 kB / 429.9 MB, free: 112 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.1193, allocations: 84.84 kB / 429.9 MB, free: 28 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.1196, allocations: 189.2 kB / 430.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.12, allocations: 254.2 kB / 430.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1201, allocations: 0 / 430.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006392/0.1207, allocations: 354.5 kB / 430.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1207, allocations: 4 kB / 430.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1207, allocations: 4 kB / 430.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.535e-05/0.1208, allocations: 24.92 kB / 430.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.1212, allocations: 91.89 kB / 430.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.1225, allocations: 1.394 MB / 432.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.1227, allocations: 16.06 kB / 432.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.1227, allocations: 12 kB / 432.3 MB, free: 13.5 MB / 366.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.0002183/0.1229, allocations: 165 kB / 432.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.123, allocations: 43.7 kB / 432.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.1231, allocations: 51.97 kB / 432.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1231, allocations: 4 kB / 432.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.1231, allocations: 0 / 432.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007635/0.1239, allocations: 0.6611 MB / 433.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.1252, allocations: 0.8414 MB / 434 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1252, allocations: 4.125 kB / 434 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.1256, allocations: 79.89 kB / 434.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.1256, allocations: 4 kB / 434.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.1256, allocations: 8 kB / 434.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1256, allocations: 7.938 kB / 434.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1256, allocations: 0 / 434.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008591/0.1265, allocations: 0.5467 MB / 434.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.1266, allocations: 136.9 kB / 434.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.1267, allocations: 8 kB / 434.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.1269, allocations: 19.98 kB / 434.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.127, allocations: 31.84 kB / 434.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.127, allocations: 12 kB / 434.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002727/0.1273, allocations: 235.1 kB / 435.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1273, allocations: 0 / 435.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004394/0.1277, allocations: 103.9 kB / 435.2 MB, free: 10.33 MB / 366.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.002656/0.1304, allocations: 1.398 MB / 436.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007563/0.1311, allocations: 363.4 kB / 437 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.1311, allocations: 256 / 437 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.1314, allocations: 135.9 kB / 437.1 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.132, allocations: 100.5 kB / 437.2 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005582/0.1376, allocations: 3.627 MB / 440.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.1381, allocations: 0.8002 MB / 441.6 MB, free: 3.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.1383, allocations: 47.25 kB / 441.7 MB, free: 3.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.1385, allocations: 139.3 kB / 441.8 MB, free: 3.684 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1385, allocations: 0 / 441.8 MB, free: 3.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2213/0.3598, allocations: 9.372 MB / 451.2 MB, free: 30.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.66, allocations: 10.89 kB / 451.2 MB, free: 30.31 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.24595057591796]