Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001662/0.001662, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 230.4 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 46.92 MB / 357 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 83.88 kB / 0.491 GB, free: 7.773 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1419, allocations: 66.04 MB / 0.5555 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.585/0.7269, allocations: 177.9 MB / 0.7292 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009566/0.7365, allocations: 5.345 MB / 0.7344 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008963/0.7374, allocations: 27.75 kB / 0.7344 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.7387, allocations: 329.9 kB / 0.7347 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.7433, allocations: 1.27 MB / 0.736 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.7461, allocations: 0.9604 MB / 0.7369 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003429/0.7496, allocations: 1.856 MB / 0.7387 GB, free: 5.352 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.751, allocations: 413.4 kB / 0.7391 GB, free: 4.945 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004082/0.7551, allocations: 1.098 MB / 0.7402 GB, free: 3.844 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.7569, allocations: 0.689 MB / 0.7409 GB, free: 3.152 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003412/0.7572, allocations: 67.94 kB / 0.7409 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.7595, allocations: 0.6398 MB / 0.7416 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005109/0.76, allocations: 271.2 kB / 0.7418 GB, free: 2.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008703/0.7609, allocations: 394.2 kB / 0.7422 GB, free: 1.793 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.7639, allocations: 1.312 MB / 0.7435 GB, free: 488 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7639, allocations: 0 / 0.7435 GB, free: 488 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7639, allocations: 0 / 0.7435 GB, free: 488 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.374e-05/0.764, allocations: 0 / 0.7435 GB, free: 488 kB / 0.545 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.00331/0.7673, allocations: 1.117 MB / 0.7446 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.7674, allocations: 12.03 kB / 0.7446 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002266/0.7676, allocations: 98.52 kB / 0.7447 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.7686, allocations: 143.4 kB / 0.7448 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.7698, allocations: 0.5318 MB / 0.7453 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.7699, allocations: 100.4 kB / 0.7454 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.7701, allocations: 55.97 kB / 0.7455 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.7716, allocations: 0.8096 MB / 0.7463 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.7717, allocations: 4 kB / 0.7463 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.394e-05/0.7718, allocations: 27.98 kB / 0.7463 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-05/0.7718, allocations: 40.97 kB / 0.7463 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.7731, allocations: 0.6243 MB / 0.7469 GB, free: 12.73 MB / 0.5606 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.005562/0.7787, allocations: 3.934 MB / 0.7508 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.7793, allocations: 346.9 kB / 0.7511 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.7796, allocations: 157.3 kB / 0.7513 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.7798, allocations: 93.38 kB / 0.7514 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.7798, allocations: 38.84 kB / 0.7514 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 4.599e-06/0.7798, allocations: 7.922 kB / 0.7514 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006421/0.7862, allocations: 1.683 MB / 0.753 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.795e-05/0.7863, allocations: 136.5 kB / 0.7532 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009358/0.7873, allocations: 0.6211 MB / 0.7538 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.299e-05/0.7873, allocations: 33.64 kB / 0.7538 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.7877, allocations: 375.8 kB / 0.7542 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.7878, allocations: 150.7 kB / 0.7543 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.7881, allocations: 166.6 kB / 0.7545 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.7883, allocations: 374.8 kB / 0.7548 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.7887, allocations: 197.9 kB / 0.755 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.7894, allocations: 0.5125 MB / 0.7555 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.7906, allocations: 0.7555 MB / 0.7563 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.7906, allocations: 4 kB / 0.7563 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001759/0.7923, allocations: 0.8761 MB / 0.7571 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.7924, allocations: 8 kB / 0.7571 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.7924, allocations: 15.94 kB / 0.7571 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.7939, allocations: 313 kB / 0.7574 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.7943, allocations: 127.7 kB / 0.7576 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.7956, allocations: 0.9309 MB / 0.7585 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.7962, allocations: 31.98 kB / 0.7585 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.7963, allocations: 64 kB / 0.7586 GB, free: 100 kB / 0.5606 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.0004422/0.7967, allocations: 245.5 kB / 0.7588 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.7969, allocations: 75.64 kB / 0.7589 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.7987, allocations: 0.8505 MB / 0.7597 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.7988, allocations: 12 kB / 0.7597 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.7988, allocations: 1.125 kB / 0.7597 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.7988, allocations: 0 / 0.7597 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.8012, allocations: 1.457 MB / 0.7611 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.8012, allocations: 4 kB / 0.7611 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.8023, allocations: 203.8 kB / 0.7613 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.8024, allocations: 28.83 kB / 0.7614 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.8025, allocations: 16 kB / 0.7614 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.805, allocations: 2.886 MB / 0.7642 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.805, allocations: 4.031 kB / 0.7642 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.8065, allocations: 0.8234 MB / 0.765 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.8069, allocations: 192.7 kB / 0.7652 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.807, allocations: 11.94 kB / 0.7652 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.8075, allocations: 19.98 kB / 0.7652 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.8076, allocations: 43.83 kB / 0.7653 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/0.8077, allocations: 43.98 kB / 0.7653 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006287/0.8083, allocations: 443.1 kB / 0.7657 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8083, allocations: 0 / 0.7657 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001062/0.8093, allocations: 255.7 kB / 0.766 GB, free: 8.02 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.002404/0.8118, allocations: 1.547 MB / 0.7675 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.8131, allocations: 0.5345 MB / 0.768 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.8131, allocations: 0 / 0.768 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.8142, allocations: 411.2 kB / 0.7684 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.8161, allocations: 376.2 kB / 0.7687 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.8267, allocations: 6.32 MB / 0.7749 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.8274, allocations: 0.9337 MB / 0.7758 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001162/0.8285, allocations: 462.4 kB / 0.7763 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005885/0.8291, allocations: 287.3 kB / 0.7765 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/0.8291, allocations: 0 / 0.7765 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07021/0.8993, allocations: 24.47 MB / 0.8004 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.08, allocations: 7.422 kB / 0.8004 GB, free: 4.465 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.455710414913483]