Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001803/0.001803, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.002072/0.002072, allocations: 211.3 kB / 21.41 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 207.6 MB / 231.8 MB, free: 4.094 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 59.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09811, allocations: 49.12 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004625/0.1027, allocations: 3.018 MB / 394.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1049, allocations: 1.185 MB / 395.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.1051, allocations: 7.938 kB / 395.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.1056, allocations: 179 kB / 395.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.106, allocations: 186.8 kB / 396 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.1065, allocations: 155.7 kB / 396.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.107, allocations: 441.8 kB / 396.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.1072, allocations: 75.47 kB / 396.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.1075, allocations: 183.3 kB / 396.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.1077, allocations: 195.2 kB / 397 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.237e-05/0.1078, allocations: 36 kB / 397 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1079, allocations: 71.92 kB / 397.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.1081, allocations: 87.67 kB / 397.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.1082, allocations: 190.9 kB / 397.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005854/0.1088, allocations: 458.1 kB / 397.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1088, allocations: 0 / 397.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1088, allocations: 0 / 397.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1088, allocations: 0 / 397.8 MB, free: 2.285 MB / 318.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.001143/0.11, allocations: 0.7097 MB / 398.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.11, allocations: 12.03 kB / 398.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.1102, allocations: 67.23 kB / 398.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.1102, allocations: 48.66 kB / 398.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.1108, allocations: 324.7 kB / 399 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.1108, allocations: 20.94 kB / 399 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.1108, allocations: 35.94 kB / 399 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.1114, allocations: 307 kB / 399.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.1114, allocations: 3.953 kB / 399.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.1114, allocations: 12 kB / 399.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.1114, allocations: 8 kB / 399.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.1118, allocations: 182.1 kB / 399.5 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.1132, allocations: 0.8717 MB / 400.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.1138, allocations: 247.3 kB / 400.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.114, allocations: 89.39 kB / 400.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.114, allocations: 4.281 kB / 400.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/0.1143, allocations: 168.8 kB / 400.9 MB, free: 15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.1144, allocations: 3.938 kB / 400.9 MB, free: 15 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002519/0.1169, allocations: 1.313 MB / 402.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.117, allocations: 187.9 kB / 402.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.1174, allocations: 352.5 kB / 402.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.1174, allocations: 37.7 kB / 402.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.1176, allocations: 196.7 kB / 403 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.1177, allocations: 150.8 kB / 403.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1178, allocations: 74.12 kB / 403.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.118, allocations: 350.7 kB / 403.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.1182, allocations: 92.77 kB / 403.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.1185, allocations: 189.2 kB / 403.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.1189, allocations: 242.2 kB / 404 MB, free: 11.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1189, allocations: 0 / 404 MB, free: 11.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000838/0.1197, allocations: 358.5 kB / 404.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1198, allocations: 8 kB / 404.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1198, allocations: 0 / 404.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.573e-05/0.1199, allocations: 20.84 kB / 404.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.1202, allocations: 96.02 kB / 404.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.1214, allocations: 1.39 MB / 405.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.1216, allocations: 15.98 kB / 405.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.1217, allocations: 16 kB / 405.9 MB, free: 9.566 MB / 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.0002113/0.1219, allocations: 173.6 kB / 406.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.1219, allocations: 43.7 kB / 406.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.463e-05/0.122, allocations: 47.95 kB / 406.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.122, allocations: 4 kB / 406.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.122, allocations: 4.062 kB / 406.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007153/0.1227, allocations: 0.657 MB / 406.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.124, allocations: 0.8454 MB / 407.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.124, allocations: 7.984 kB / 407.7 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.1243, allocations: 72.03 kB / 407.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1243, allocations: 4 kB / 407.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.1243, allocations: 15.98 kB / 407.8 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.1243, allocations: 4 kB / 407.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1243, allocations: 0 / 407.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.1252, allocations: 0.5623 MB / 408.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.1253, allocations: 136.9 kB / 408.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.1254, allocations: 12 kB / 408.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.1256, allocations: 12 kB / 408.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.1256, allocations: 31.89 kB / 408.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.1257, allocations: 12 kB / 408.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002803/0.1259, allocations: 255 kB / 408.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1259, allocations: 4 kB / 408.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004048/0.1263, allocations: 92 kB / 408.9 MB, free: 6.359 MB / 334.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.002591/0.1289, allocations: 1.412 MB / 410.3 MB, free: 4.906 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.1296, allocations: 362.4 kB / 410.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1296, allocations: 0 / 410.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.1298, allocations: 132.4 kB / 410.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.1304, allocations: 105.2 kB / 410.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.1353, allocations: 3.675 MB / 414.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.1358, allocations: 0.8119 MB / 415.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.136, allocations: 43.25 kB / 415.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.1361, allocations: 135.4 kB / 415.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1361, allocations: 0 / 415.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04011/0.1763, allocations: 9.494 MB / 425.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.34, allocations: 8.047 kB / 425.1 MB, free: 5.875 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder1.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder2.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder2.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.s_rel in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.s_rel from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.v_rel in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.v_rel from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.085377558003529]