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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 105.3 kB / 17.2 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.001266/0.001266, 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.322/1.322, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.2141/0.2141, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.31 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1368, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4883/0.6251, allocations: 172.6 MB / 0.6262 GB, free: 4.496 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009808/0.635, allocations: 5.477 MB / 0.6315 GB, free: 15.01 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.6363, allocations: 27.81 kB / 0.6315 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.6376, allocations: 266.5 kB / 0.6318 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004127/0.6417, allocations: 1.139 MB / 0.6329 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.6445, allocations: 0.8606 MB / 0.6337 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003368/0.6479, allocations: 2.713 MB / 0.6364 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009098/0.6488, allocations: 396.9 kB / 0.6368 GB, free: 9.621 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.6515, allocations: 0.9535 MB / 0.6377 GB, free: 8.664 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.6529, allocations: 0.689 MB / 0.6384 GB, free: 7.973 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.653, allocations: 32 kB / 0.6384 GB, free: 7.941 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.6545, allocations: 0.5265 MB / 0.6389 GB, free: 7.414 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.6548, allocations: 243.2 kB / 0.6392 GB, free: 7.176 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.6553, allocations: 374.2 kB / 0.6395 GB, free: 6.809 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.6568, allocations: 1.27 MB / 0.6408 GB, free: 5.535 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6568, allocations: 0 / 0.6408 GB, free: 5.535 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.6568, allocations: 0 / 0.6408 GB, free: 5.535 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.6568, allocations: 0 / 0.6408 GB, free: 5.535 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.002375/0.6592, allocations: 1.102 MB / 0.6418 GB, free: 4.379 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6592, allocations: 23.91 kB / 0.6419 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/0.6594, allocations: 94.52 kB / 0.6419 GB, free: 4.254 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/0.6602, allocations: 139 kB / 0.6421 GB, free: 4.117 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008052/0.661, allocations: 0.5041 MB / 0.6426 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.6612, allocations: 100.4 kB / 0.6427 GB, free: 3.461 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.6613, allocations: 59.89 kB / 0.6427 GB, free: 3.402 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.6625, allocations: 0.8136 MB / 0.6435 GB, free: 2.516 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.6626, allocations: 3.938 kB / 0.6435 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/0.6627, allocations: 27.98 kB / 0.6435 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/0.6627, allocations: 36.98 kB / 0.6436 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.6638, allocations: 0.6204 MB / 0.6442 GB, free: 1.828 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.004544/0.6683, allocations: 3.97 MB / 0.6481 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.6689, allocations: 355.6 kB / 0.6484 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.6693, allocations: 165.3 kB / 0.6486 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.6694, allocations: 93.38 kB / 0.6486 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.6694, allocations: 42.84 kB / 0.6487 GB, free: 12.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.023e-06/0.6695, allocations: 0 / 0.6487 GB, free: 12.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005748/0.6752, allocations: 1.664 MB / 0.6503 GB, free: 11.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.578e-05/0.6753, allocations: 144.5 kB / 0.6505 GB, free: 11.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000766/0.6761, allocations: 0.6132 MB / 0.6511 GB, free: 10.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.6762, allocations: 33.7 kB / 0.6511 GB, free: 10.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.6764, allocations: 370.9 kB / 0.6514 GB, free: 9.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.6766, allocations: 141.9 kB / 0.6516 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.6768, allocations: 154.6 kB / 0.6517 GB, free: 9.691 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.677, allocations: 374.8 kB / 0.6521 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.6774, allocations: 209.9 kB / 0.6523 GB, free: 9.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.678, allocations: 0.5163 MB / 0.6528 GB, free: 8.445 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009785/0.6789, allocations: 0.7485 MB / 0.6535 GB, free: 7.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.679, allocations: 4 kB / 0.6535 GB, free: 7.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001472/0.6804, allocations: 0.8877 MB / 0.6544 GB, free: 6.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.6805, allocations: 22.22 kB / 0.6544 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.6805, allocations: 8 kB / 0.6544 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.682, allocations: 315.4 kB / 0.6547 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.6824, allocations: 123.8 kB / 0.6548 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.6836, allocations: 0.9309 MB / 0.6557 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.6842, allocations: 43.89 kB / 0.6558 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.6843, allocations: 63.98 kB / 0.6558 GB, free: 5.137 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.0004039/0.6847, allocations: 254 kB / 0.6561 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.6849, allocations: 67.25 kB / 0.6561 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.6867, allocations: 0.8619 MB / 0.657 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6868, allocations: 4 kB / 0.657 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.6868, allocations: 4 kB / 0.657 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.6868, allocations: 3.984 kB / 0.657 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.6892, allocations: 1.458 MB / 0.6584 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6892, allocations: 4 kB / 0.6584 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.6903, allocations: 203.8 kB / 0.6586 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.6904, allocations: 29.03 kB / 0.6587 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.6905, allocations: 19.98 kB / 0.6587 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.6929, allocations: 2.688 MB / 0.6613 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6929, allocations: 8.094 kB / 0.6613 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.6944, allocations: 0.8088 MB / 0.6621 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.6948, allocations: 192.2 kB / 0.6623 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.6949, allocations: 12 kB / 0.6623 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.6954, allocations: 27.91 kB / 0.6623 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.6956, allocations: 44.03 kB / 0.6624 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.254e-05/0.6957, allocations: 43.97 kB / 0.6624 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006176/0.6963, allocations: 439 kB / 0.6628 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6963, allocations: 0 / 0.6628 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001128/0.6974, allocations: 256 kB / 0.6631 GB, free: 13.26 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.002563/0.7, allocations: 1.563 MB / 0.6646 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.7014, allocations: 0.5431 MB / 0.6651 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.7014, allocations: 4.562 kB / 0.6651 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.7026, allocations: 414.3 kB / 0.6655 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.7045, allocations: 348.2 kB / 0.6658 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.716, allocations: 6.748 MB / 0.6724 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.7167, allocations: 0.9339 MB / 0.6734 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001489/0.7182, allocations: 470.3 kB / 0.6738 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006071/0.7189, allocations: 287.3 kB / 0.6741 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of SimCode: time 1.583e-06/0.7189, allocations: 0 / 0.6741 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05375/0.7726, allocations: 23.41 MB / 0.6969 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/0.773, allocations: 309.5 kB / 0.6972 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/3.225, allocations: 0 / 0.6972 GB, free: 10.05 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/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) Reference file matches