Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 108.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 241.8 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2151/0.2151, allocations: 44.17 MB / 336.1 MB, free: 3.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 62.12 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1289, allocations: 60.83 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5142/0.6431, allocations: 172.6 MB / 0.6262 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.6545, allocations: 5.473 MB / 0.6315 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.6558, allocations: 27.75 kB / 0.6315 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.657, allocations: 274.5 kB / 0.6318 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003919/0.661, allocations: 1.128 MB / 0.6329 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.6638, allocations: 0.8759 MB / 0.6338 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003792/0.6676, allocations: 2.699 MB / 0.6364 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.6688, allocations: 397.9 kB / 0.6368 GB, free: 9.656 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.6716, allocations: 0.9574 MB / 0.6377 GB, free: 8.695 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.6733, allocations: 0.6812 MB / 0.6384 GB, free: 8.012 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002954/0.6736, allocations: 39.94 kB / 0.6384 GB, free: 7.973 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.6756, allocations: 0.5304 MB / 0.6389 GB, free: 7.441 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005029/0.6761, allocations: 235.3 kB / 0.6392 GB, free: 7.211 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009494/0.6771, allocations: 374.2 kB / 0.6395 GB, free: 6.844 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.6799, allocations: 1.274 MB / 0.6408 GB, free: 5.566 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.6799, allocations: 4 kB / 0.6408 GB, free: 5.562 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6799, allocations: 0 / 0.6408 GB, free: 5.562 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.334e-05/0.6799, allocations: 0 / 0.6408 GB, free: 5.562 MB / 478.1 MB 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.003287/0.6832, allocations: 1.106 MB / 0.6418 GB, free: 4.402 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.6833, allocations: 11.97 kB / 0.6419 GB, free: 4.391 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002696/0.6836, allocations: 102.5 kB / 0.6419 GB, free: 4.281 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.6846, allocations: 138.9 kB / 0.6421 GB, free: 4.148 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.6856, allocations: 0.508 MB / 0.6426 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.6857, allocations: 96.41 kB / 0.6427 GB, free: 3.492 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.732e-05/0.6859, allocations: 55.91 kB / 0.6427 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.6872, allocations: 0.8175 MB / 0.6435 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.6873, allocations: 0 / 0.6435 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/0.6873, allocations: 27.98 kB / 0.6435 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/0.6874, allocations: 44.92 kB / 0.6436 GB, free: 2.477 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.6885, allocations: 0.6204 MB / 0.6442 GB, free: 1.855 MB / 478.1 MB 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.005037/0.6936, allocations: 3.962 MB / 0.6481 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.6943, allocations: 358.4 kB / 0.6484 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.6947, allocations: 173.3 kB / 0.6486 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.6948, allocations: 93.36 kB / 0.6487 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.6949, allocations: 38.84 kB / 0.6487 GB, free: 12.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.6949, allocations: 0 / 0.6487 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006122/0.701, allocations: 1.66 MB / 0.6503 GB, free: 11.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.7011, allocations: 136.5 kB / 0.6504 GB, free: 11.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008912/0.702, allocations: 0.6171 MB / 0.6511 GB, free: 10.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.855e-05/0.7021, allocations: 37.7 kB / 0.6511 GB, free: 10.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.7024, allocations: 362.9 kB / 0.6514 GB, free: 10.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.7026, allocations: 153.9 kB / 0.6516 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.7028, allocations: 150.6 kB / 0.6517 GB, free: 9.727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.7031, allocations: 378.8 kB / 0.6521 GB, free: 9.348 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.7035, allocations: 201.9 kB / 0.6523 GB, free: 9.148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.7042, allocations: 0.5125 MB / 0.6528 GB, free: 8.488 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.7054, allocations: 0.7563 MB / 0.6535 GB, free: 7.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.7054, allocations: 4 kB / 0.6535 GB, free: 7.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001764/0.7072, allocations: 0.8876 MB / 0.6544 GB, free: 6.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.7072, allocations: 8 kB / 0.6544 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.7072, allocations: 12 kB / 0.6544 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.7087, allocations: 309 kB / 0.6547 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.7092, allocations: 131.7 kB / 0.6548 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.7104, allocations: 0.9231 MB / 0.6557 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000643/0.7111, allocations: 50.75 kB / 0.6558 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.7112, allocations: 76 kB / 0.6558 GB, free: 5.168 MB / 494.1 MB 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.0004241/0.7116, allocations: 246 kB / 0.6561 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.7118, allocations: 67.25 kB / 0.6561 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.7137, allocations: 0.8588 MB / 0.657 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.7137, allocations: 4 kB / 0.657 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.7137, allocations: 0 / 0.657 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.7137, allocations: 0 / 0.657 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.7163, allocations: 1.467 MB / 0.6584 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7164, allocations: 0 / 0.6584 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.7175, allocations: 215.9 kB / 0.6586 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.7176, allocations: 24.84 kB / 0.6587 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.48e-05/0.7177, allocations: 23.94 kB / 0.6587 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002834/0.7205, allocations: 2.688 MB / 0.6613 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7206, allocations: 0 / 0.6613 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.7221, allocations: 0.8128 MB / 0.6621 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.7226, allocations: 192.2 kB / 0.6623 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.7227, allocations: 8 kB / 0.6623 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.7233, allocations: 31.98 kB / 0.6623 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.7234, allocations: 43.89 kB / 0.6624 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.7235, allocations: 43.98 kB / 0.6624 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006448/0.7242, allocations: 439 kB / 0.6628 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-07/0.7242, allocations: 0 / 0.6628 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001151/0.7254, allocations: 252 kB / 0.6631 GB, free: 13.3 MB / 0.4981 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.002628/0.728, allocations: 1.57 MB / 0.6646 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.7293, allocations: 0.5397 MB / 0.6651 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.7293, allocations: 0 / 0.6651 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.7304, allocations: 418.4 kB / 0.6655 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.7322, allocations: 342.9 kB / 0.6658 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.7432, allocations: 6.762 MB / 0.6724 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.7439, allocations: 0.9339 MB / 0.6734 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001382/0.7453, allocations: 464.6 kB / 0.6738 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005782/0.7459, allocations: 283.3 kB / 0.6741 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of SimCode: time 7.91e-07/0.7459, allocations: 4 kB / 0.6741 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05009/0.796, allocations: 23.4 MB / 0.6969 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/0.7963, allocations: 314.2 kB / 0.6972 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.216, allocations: 0 / 0.6972 GB, free: 10.09 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches