Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001745/0.001745, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002236/0.002236, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.23/0.23, allocations: 46.92 MB / 360.9 MB, free: 4.238 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003369/0.003369, allocations: 63.89 kB / 0.4962 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4044, allocations: 66.03 MB / 0.5607 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2255/0.6299, allocations: 178.1 MB / 0.7346 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3364/0.9663, allocations: 5.359 MB / 0.7398 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000706/0.9671, allocations: 27.47 kB / 0.7398 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.968, allocations: 324.2 kB / 0.7401 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.9714, allocations: 1.302 MB / 0.7414 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.974, allocations: 0.9819 MB / 0.7424 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002362/0.9764, allocations: 1.88 MB / 0.7442 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006338/0.977, allocations: 391.6 kB / 0.7446 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.9794, allocations: 1.115 MB / 0.7457 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.9805, allocations: 0.7024 MB / 0.7464 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.9806, allocations: 64.08 kB / 0.7464 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.9821, allocations: 0.6389 MB / 0.747 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.9824, allocations: 274.4 kB / 0.7473 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004875/0.9829, allocations: 398.8 kB / 0.7477 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.9847, allocations: 1.31 MB / 0.749 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9847, allocations: 0 / 0.749 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9847, allocations: 0 / 0.749 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.9847, allocations: 1.031 kB / 0.749 GB, free: 1.59 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.002224/0.9869, allocations: 1.049 MB / 0.75 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.987, allocations: 9.562 kB / 0.75 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.9871, allocations: 100.5 kB / 0.7501 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007702/0.9878, allocations: 144.2 kB / 0.7502 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008843/0.9887, allocations: 468.7 kB / 0.7507 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.9889, allocations: 155.8 kB / 0.7508 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/0.989, allocations: 51.31 kB / 0.7509 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.9901, allocations: 0.8239 MB / 0.7517 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.9901, allocations: 7.375 kB / 0.7517 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/0.9902, allocations: 26.11 kB / 0.7517 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-05/0.9903, allocations: 38.2 kB / 0.7517 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008976/0.9912, allocations: 0.6214 MB / 0.7524 GB, free: 16.42 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.004553/0.9957, allocations: 3.894 MB / 0.7562 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.9962, allocations: 339.5 kB / 0.7565 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.9964, allocations: 169.3 kB / 0.7566 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.712e-05/0.9965, allocations: 16.11 kB / 0.7567 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.9966, allocations: 42.78 kB / 0.7567 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.385e-06/0.9966, allocations: 0 / 0.7567 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005267/1.002, allocations: 1.605 MB / 0.7583 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/1.002, allocations: 134 kB / 0.7584 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/1.003, allocations: 0.6172 MB / 0.759 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/1.003, allocations: 37.05 kB / 0.759 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/1.003, allocations: 369.8 kB / 0.7594 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/1.003, allocations: 152.8 kB / 0.7595 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/1.003, allocations: 160.5 kB / 0.7597 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.003, allocations: 374.6 kB / 0.76 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/1.004, allocations: 205.6 kB / 0.7602 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/1.004, allocations: 0.5114 MB / 0.7607 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009417/1.005, allocations: 0.7539 MB / 0.7615 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.005, allocations: 4.531 kB / 0.7615 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001335/1.006, allocations: 0.8787 MB / 0.7623 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.006, allocations: 12.09 kB / 0.7623 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/1.006, allocations: 10.06 kB / 0.7624 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/1.008, allocations: 314.3 kB / 0.7627 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/1.008, allocations: 120.3 kB / 0.7628 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/1.009, allocations: 0.9337 MB / 0.7637 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/1.01, allocations: 33.45 kB / 0.7637 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/1.01, allocations: 62.72 kB / 0.7638 GB, free: 11.04 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.0003837/1.01, allocations: 247.9 kB / 0.764 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/1.01, allocations: 74.91 kB / 0.7641 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/1.012, allocations: 0.8593 MB / 0.7649 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.012, allocations: 9.844 kB / 0.7649 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.012, allocations: 3 kB / 0.7649 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.012, allocations: 0.9062 kB / 0.7649 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.014, allocations: 1.208 MB / 0.7661 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.014, allocations: 3.438 kB / 0.7661 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009803/1.015, allocations: 209.1 kB / 0.7663 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/1.015, allocations: 25.41 kB / 0.7663 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/1.015, allocations: 22.5 kB / 0.7664 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/1.018, allocations: 2.674 MB / 0.769 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.018, allocations: 3.406 kB / 0.769 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/1.019, allocations: 0.8178 MB / 0.7698 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/1.019, allocations: 117.4 kB / 0.7699 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/1.019, allocations: 12.89 kB / 0.7699 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/1.02, allocations: 16.22 kB / 0.7699 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-05/1.02, allocations: 43.27 kB / 0.77 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/1.02, allocations: 46.31 kB / 0.77 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005092/1.02, allocations: 439 kB / 0.7704 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.02, allocations: 1.031 kB / 0.7704 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000993/1.021, allocations: 260.4 kB / 0.7707 GB, free: 7.547 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.002083/1.023, allocations: 1.54 MB / 0.7722 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001119/1.025, allocations: 0.536 MB / 0.7727 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.025, allocations: 3.469 kB / 0.7727 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009246/1.025, allocations: 409.5 kB / 0.7731 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/1.027, allocations: 354.3 kB / 0.7734 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.037, allocations: 6.343 MB / 0.7796 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/1.038, allocations: 0.9307 MB / 0.7805 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001082/1.039, allocations: 469.4 kB / 0.781 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/1.039, allocations: 290.5 kB / 0.7813 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of SimCode: time 1.713e-06/1.039, allocations: 3.188 kB / 0.7813 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06575/1.105, allocations: 24.99 MB / 0.8057 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/15.15, allocations: 7.156 kB / 0.8057 GB, free: 7.129 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.447557152001536]