Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.00133/0.00133, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.001941/0.001941, allocations: 209 kB / 23.74 MB, free: 4.691 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2233/0.2233, allocations: 44.92 MB / 358.8 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002067/0.002067, allocations: 63.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4062, allocations: 65.48 MB / 0.557 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2448/0.6509, allocations: 178.1 MB / 0.731 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4006/1.052, allocations: 5.372 MB / 0.7362 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008913/1.052, allocations: 30.78 kB / 0.7362 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/1.053, allocations: 318.3 kB / 0.7365 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003693/1.057, allocations: 1.286 MB / 0.7378 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/1.06, allocations: 0.9888 MB / 0.7388 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002844/1.063, allocations: 1.871 MB / 0.7406 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006784/1.063, allocations: 396.5 kB / 0.741 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/1.066, allocations: 1.115 MB / 0.742 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/1.067, allocations: 0.7013 MB / 0.7427 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.944e-05/1.067, allocations: 65.91 kB / 0.7428 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/1.068, allocations: 0.6423 MB / 0.7434 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002525/1.069, allocations: 272.6 kB / 0.7437 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004238/1.069, allocations: 396.2 kB / 0.7441 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/1.07, allocations: 1.306 MB / 0.7453 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/1.07, allocations: 2.844 kB / 0.7453 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/1.07, allocations: 0.5312 kB / 0.7453 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.115e-05/1.07, allocations: 0.9375 kB / 0.7453 GB, free: 1.672 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002103/1.073, allocations: 1.049 MB / 0.7464 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/1.073, allocations: 14.97 kB / 0.7464 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/1.073, allocations: 102.5 kB / 0.7465 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/1.074, allocations: 136.7 kB / 0.7466 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008873/1.074, allocations: 479.1 kB / 0.7471 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/1.075, allocations: 153.2 kB / 0.7472 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/1.075, allocations: 50.42 kB / 0.7473 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/1.076, allocations: 0.8205 MB / 0.7481 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/1.076, allocations: 6.594 kB / 0.7481 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/1.076, allocations: 23.64 kB / 0.7481 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.154e-05/1.076, allocations: 38.28 kB / 0.7481 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009242/1.077, allocations: 0.6182 MB / 0.7487 GB, free: 16.51 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005334/1.082, allocations: 3.89 MB / 0.7525 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/1.083, allocations: 341.9 kB / 0.7529 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/1.083, allocations: 162.1 kB / 0.753 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/1.083, allocations: 9.719 kB / 0.753 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/1.084, allocations: 42.69 kB / 0.7531 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.885e-06/1.084, allocations: 3.75 kB / 0.7531 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.006819/1.09, allocations: 1.605 MB / 0.7546 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.09, allocations: 137.6 kB / 0.7548 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008782/1.091, allocations: 0.6159 MB / 0.7554 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/1.091, allocations: 39.33 kB / 0.7554 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/1.092, allocations: 371.6 kB / 0.7558 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/1.092, allocations: 148.8 kB / 0.7559 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/1.092, allocations: 161.9 kB / 0.7561 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00021/1.092, allocations: 374.9 kB / 0.7564 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/1.093, allocations: 204.5 kB / 0.7566 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007475/1.093, allocations: 0.5089 MB / 0.7571 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/1.095, allocations: 0.7536 MB / 0.7578 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.095, allocations: 2 kB / 0.7578 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002016/1.097, allocations: 0.882 MB / 0.7587 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.097, allocations: 9.625 kB / 0.7587 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/1.097, allocations: 10.31 kB / 0.7587 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/1.099, allocations: 316.9 kB / 0.759 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/1.099, allocations: 125.3 kB / 0.7591 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/1.1, allocations: 0.9413 MB / 0.7601 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007786/1.101, allocations: 30.25 kB / 0.7601 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/1.101, allocations: 65.89 kB / 0.7602 GB, free: 11.12 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004955/1.102, allocations: 245.8 kB / 0.7604 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/1.102, allocations: 69.75 kB / 0.7605 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/1.104, allocations: 0.8642 MB / 0.7613 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.104, allocations: 10.38 kB / 0.7613 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.104, allocations: 0 / 0.7613 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.104, allocations: 3.75 kB / 0.7613 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/1.107, allocations: 1.216 MB / 0.7625 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/1.107, allocations: 2.312 kB / 0.7625 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/1.108, allocations: 206.9 kB / 0.7627 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/1.108, allocations: 24.5 kB / 0.7627 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/1.108, allocations: 22.64 kB / 0.7627 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/1.111, allocations: 2.674 MB / 0.7654 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.111, allocations: 7.531 kB / 0.7654 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/1.113, allocations: 0.8116 MB / 0.7662 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004772/1.113, allocations: 117.2 kB / 0.7663 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/1.114, allocations: 18.28 kB / 0.7663 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/1.114, allocations: 18.61 kB / 0.7663 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/1.114, allocations: 43.16 kB / 0.7663 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-05/1.114, allocations: 42.38 kB / 0.7664 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007154/1.115, allocations: 440.9 kB / 0.7668 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.115, allocations: 0.8438 kB / 0.7668 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001393/1.116, allocations: 256.5 kB / 0.767 GB, free: 7.633 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002797/1.119, allocations: 1.549 MB / 0.7686 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001676/1.121, allocations: 0.534 MB / 0.7691 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.121, allocations: 0 / 0.7691 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/1.122, allocations: 409.7 kB / 0.7695 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.125, allocations: 365.8 kB / 0.7698 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/1.137, allocations: 6.336 MB / 0.776 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/1.137, allocations: 0.939 MB / 0.7769 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001049/1.138, allocations: 459.4 kB / 0.7774 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/1.139, allocations: 283.1 kB / 0.7776 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/1.139, allocations: 1.203 kB / 0.7776 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06636/1.205, allocations: 24.99 MB / 0.802 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.53, allocations: 18.36 kB / 0.8021 GB, free: 8.445 MB / 0.5919 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.689204132999294]