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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001507/0.001507, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.415/1.415, allocations: 222.9 MB / 243 MB, free: 15.08 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.2133/0.2133, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 62.72 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.145, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5347/0.6797, allocations: 174.4 MB / 0.63 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00728/0.687, allocations: 5.334 MB / 0.6352 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007561/0.6878, allocations: 23.88 kB / 0.6352 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009614/0.6888, allocations: 321.9 kB / 0.6355 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.6922, allocations: 1.238 MB / 0.6367 GB, free: 10.74 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.6948, allocations: 0.9689 MB / 0.6377 GB, free: 9.777 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0024/0.6972, allocations: 1.844 MB / 0.6395 GB, free: 7.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006807/0.6979, allocations: 456.8 kB / 0.6399 GB, free: 7.48 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.7002, allocations: 1.066 MB / 0.6409 GB, free: 6.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00095/0.7012, allocations: 0.654 MB / 0.6416 GB, free: 5.754 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.724e-05/0.7013, allocations: 60 kB / 0.6416 GB, free: 5.695 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.7027, allocations: 0.6203 MB / 0.6422 GB, free: 5.074 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.703, allocations: 267.2 kB / 0.6425 GB, free: 4.812 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004409/0.7035, allocations: 402.2 kB / 0.6429 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.7051, allocations: 1.301 MB / 0.6441 GB, free: 3.113 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.7051, allocations: 0 / 0.6441 GB, free: 3.113 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.7051, allocations: 4 kB / 0.6441 GB, free: 3.109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.7052, allocations: 0 / 0.6441 GB, free: 3.109 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.002202/0.7074, allocations: 1.095 MB / 0.6452 GB, free: 1.961 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.7074, allocations: 8.031 kB / 0.6452 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008218/0.7082, allocations: 131.1 kB / 0.6453 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/0.7092, allocations: 0.5352 MB / 0.6459 GB, free: 1.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.7093, allocations: 108.3 kB / 0.646 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/0.7094, allocations: 52 kB / 0.646 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.7106, allocations: 0.8058 MB / 0.6468 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.7106, allocations: 4 kB / 0.6468 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.7107, allocations: 27.98 kB / 0.6468 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/0.7108, allocations: 48.91 kB / 0.6469 GB, free: 128 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.7118, allocations: 0.6204 MB / 0.6475 GB, free: 15.5 MB / 494.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.004244/0.716, allocations: 3.958 MB / 0.6514 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005508/0.7166, allocations: 359.6 kB / 0.6517 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.7169, allocations: 173.3 kB / 0.6519 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.717, allocations: 85.39 kB / 0.6519 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.717, allocations: 38.84 kB / 0.652 GB, free: 10.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.717, allocations: 4 kB / 0.652 GB, free: 10.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005106/0.7222, allocations: 1.666 MB / 0.6536 GB, free: 8.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.7222, allocations: 144.4 kB / 0.6538 GB, free: 8.695 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/0.7229, allocations: 0.6133 MB / 0.6544 GB, free: 8.074 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.723, allocations: 37.7 kB / 0.6544 GB, free: 8.031 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.7232, allocations: 362.8 kB / 0.6547 GB, free: 7.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.7233, allocations: 146 kB / 0.6549 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.7236, allocations: 154.5 kB / 0.655 GB, free: 7.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7237, allocations: 378.8 kB / 0.6554 GB, free: 6.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.7241, allocations: 201.9 kB / 0.6556 GB, free: 6.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/0.7246, allocations: 0.5203 MB / 0.6561 GB, free: 6.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008864/0.7255, allocations: 0.7435 MB / 0.6568 GB, free: 5.246 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.7255, allocations: 4 kB / 0.6568 GB, free: 5.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001351/0.7269, allocations: 0.8831 MB / 0.6577 GB, free: 4.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.7269, allocations: 13 kB / 0.6577 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.7269, allocations: 8 kB / 0.6577 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.7283, allocations: 324.5 kB / 0.658 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.7287, allocations: 127.7 kB / 0.6581 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.7297, allocations: 0.9295 MB / 0.659 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.7302, allocations: 27.98 kB / 0.6591 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/0.7303, allocations: 72.06 kB / 0.6591 GB, free: 2.836 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.0003416/0.7307, allocations: 245.8 kB / 0.6594 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.7308, allocations: 71.16 kB / 0.6594 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.7324, allocations: 0.8539 MB / 0.6603 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.7324, allocations: 4 kB / 0.6603 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.7324, allocations: 0.875 kB / 0.6603 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.7324, allocations: 3.984 kB / 0.6603 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.7344, allocations: 1.462 MB / 0.6617 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.7344, allocations: 0 / 0.6617 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.7354, allocations: 211.9 kB / 0.6619 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.39e-05/0.7355, allocations: 28.84 kB / 0.6619 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.7356, allocations: 24.61 kB / 0.662 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.7375, allocations: 2.87 MB / 0.6648 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.7376, allocations: 0 / 0.6648 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.7388, allocations: 0.8258 MB / 0.6656 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.7391, allocations: 188.3 kB / 0.6657 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.952e-05/0.7392, allocations: 8 kB / 0.6658 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.7396, allocations: 16.05 kB / 0.6658 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.7397, allocations: 51.83 kB / 0.6658 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-05/0.7398, allocations: 47.97 kB / 0.6659 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005517/0.7404, allocations: 439 kB / 0.6663 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7404, allocations: 3.938 kB / 0.6663 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009972/0.7414, allocations: 256 kB / 0.6665 GB, free: 10.77 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.0008143/0.7422, allocations: 281.7 kB / 0.6668 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.7434, allocations: 0.5662 MB / 0.6674 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7434, allocations: 4 kB / 0.6674 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009342/0.7443, allocations: 422.3 kB / 0.6678 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.7458, allocations: 368.7 kB / 0.6681 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.7478, allocations: 1.332 MB / 0.6694 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.7483, allocations: 0.9261 MB / 0.6703 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001015/0.7493, allocations: 461 kB / 0.6708 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.7496, allocations: 115.4 kB / 0.6709 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of SimCode: time 6.52e-07/0.7496, allocations: 0 / 0.6709 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of Templates: time 0.02927/0.7789, allocations: 17.39 MB / 0.6879 GB, free: 5.004 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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