Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000962/0.000962, allocations: 201.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007287/0.0007288, allocations: 105.8 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3006/0.3006, allocations: 45.02 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 8 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2854, allocations: 63.1 MB / 0.5214 GB, free: 38.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.44/0.7255, allocations: 167.9 MB / 0.6853 GB, free: 11.64 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00718/0.7327, allocations: 7.675 MB / 0.6928 GB, free: 8.578 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008905/0.7336, allocations: 22.03 kB / 0.6928 GB, free: 8.578 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008242/0.7344, allocations: 281 kB / 0.6931 GB, free: 8.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.7372, allocations: 1.122 MB / 0.6942 GB, free: 8.508 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.7393, allocations: 0.8576 MB / 0.695 GB, free: 8.469 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.7419, allocations: 2.719 MB / 0.6977 GB, free: 8.469 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005962/0.7425, allocations: 395.8 kB / 0.6981 GB, free: 8.43 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.7445, allocations: 0.9852 MB / 0.699 GB, free: 8.414 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009562/0.7455, allocations: 0.6805 MB / 0.6997 GB, free: 8.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.7456, allocations: 30.56 kB / 0.6997 GB, free: 8.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.7469, allocations: 0.5037 MB / 0.7002 GB, free: 8.398 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.7472, allocations: 239.5 kB / 0.7005 GB, free: 8.398 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.7476, allocations: 396.1 kB / 0.7008 GB, free: 8.367 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.7493, allocations: 1.258 MB / 0.7021 GB, free: 8.301 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7493, allocations: 0 / 0.7021 GB, free: 8.301 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7493, allocations: 2 kB / 0.7021 GB, free: 8.301 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.7494, allocations: 4 kB / 0.7021 GB, free: 8.297 MB / 490.7 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.001865/0.7512, allocations: 0.9461 MB / 0.703 GB, free: 7.699 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.7513, allocations: 11.12 kB / 0.703 GB, free: 7.699 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007451/0.752, allocations: 133.2 kB / 0.7031 GB, free: 7.664 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007073/0.7528, allocations: 0.5059 MB / 0.7036 GB, free: 7.398 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.542e-05/0.7528, allocations: 103.3 kB / 0.7037 GB, free: 7.332 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/0.7529, allocations: 45.47 kB / 0.7038 GB, free: 7.332 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.754, allocations: 0.8315 MB / 0.7046 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.7541, allocations: 5.078 kB / 0.7046 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.7541, allocations: 21.53 kB / 0.7046 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-05/0.7542, allocations: 46.39 kB / 0.7046 GB, free: 7.098 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.7552, allocations: 0.6117 MB / 0.7052 GB, free: 7.094 MB / 490.7 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.003581/0.7588, allocations: 3.945 MB / 0.7091 GB, free: 4.508 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.7594, allocations: 350.2 kB / 0.7094 GB, free: 4.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.7597, allocations: 168.4 kB / 0.7096 GB, free: 4.473 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.711e-05/0.7598, allocations: 95.06 kB / 0.7097 GB, free: 4.379 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.7598, allocations: 42.59 kB / 0.7097 GB, free: 4.336 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.275e-06/0.7598, allocations: 0 / 0.7097 GB, free: 4.336 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.004823/0.7647, allocations: 1.666 MB / 0.7114 GB, free: 3.824 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.7647, allocations: 133.7 kB / 0.7115 GB, free: 3.668 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/0.7654, allocations: 0.6068 MB / 0.7121 GB, free: 3.531 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.7654, allocations: 35.8 kB / 0.7121 GB, free: 3.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.7656, allocations: 374.5 kB / 0.7125 GB, free: 3.301 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/0.7657, allocations: 139.8 kB / 0.7126 GB, free: 3.215 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.7658, allocations: 13.47 kB / 0.7126 GB, free: 3.215 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.7658, allocations: 377 kB / 0.713 GB, free: 2.898 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.7662, allocations: 198.6 kB / 0.7132 GB, free: 2.898 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.7667, allocations: 0.5121 MB / 0.7137 GB, free: 2.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008779/0.7676, allocations: 0.7505 MB / 0.7144 GB, free: 2.109 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.7676, allocations: 6 kB / 0.7144 GB, free: 2.109 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001407/0.769, allocations: 0.878 MB / 0.7153 GB, free: 2.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.769, allocations: 9.531 kB / 0.7153 GB, free: 2.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.769, allocations: 9.969 kB / 0.7153 GB, free: 2.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.7704, allocations: 322.9 kB / 0.7156 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.7708, allocations: 125.6 kB / 0.7157 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.7719, allocations: 0.9312 MB / 0.7166 GB, free: 17.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.7724, allocations: 45.97 kB / 0.7167 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.7725, allocations: 70.06 kB / 0.7167 GB, free: 17.46 MB / 0.4948 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.0003387/0.7729, allocations: 248.5 kB / 0.717 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.773, allocations: 65.66 kB / 0.717 GB, free: 17.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.7746, allocations: 0.864 MB / 0.7179 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.7746, allocations: 7.062 kB / 0.7179 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7746, allocations: 0.9688 kB / 0.7179 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7747, allocations: 0 / 0.7179 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.7766, allocations: 1.455 MB / 0.7193 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.7766, allocations: 1.781 kB / 0.7193 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009315/0.7776, allocations: 218.1 kB / 0.7195 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.894e-05/0.7777, allocations: 19.39 kB / 0.7195 GB, free: 16.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.7777, allocations: 26.3 kB / 0.7195 GB, free: 16.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.7795, allocations: 2.688 MB / 0.7222 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7795, allocations: 4 kB / 0.7222 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.7806, allocations: 0.8275 MB / 0.723 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.7808, allocations: 191.1 kB / 0.7232 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.008e-05/0.7809, allocations: 9.25 kB / 0.7232 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.7813, allocations: 28.64 kB / 0.7232 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/0.7814, allocations: 43.55 kB / 0.7232 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/0.7815, allocations: 41.83 kB / 0.7233 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004457/0.7819, allocations: 441.1 kB / 0.7237 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7819, allocations: 0 / 0.7237 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000894/0.7828, allocations: 255.8 kB / 0.7239 GB, free: 13.43 MB / 0.4948 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.0007025/0.7835, allocations: 303.6 kB / 0.7242 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009514/0.7845, allocations: 0.5473 MB / 0.7248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7845, allocations: 0 / 0.7248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008463/0.7854, allocations: 417.8 kB / 0.7252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.7869, allocations: 353 kB / 0.7255 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.7888, allocations: 1.638 MB / 0.7271 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.7893, allocations: 0.929 MB / 0.728 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001221/0.7906, allocations: 461.7 kB / 0.7285 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.7909, allocations: 117.4 kB / 0.7286 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of SimCode: time 3.2e-07/0.7909, allocations: 0 / 0.7286 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.02521/0.8162, allocations: 16.76 MB / 0.7449 GB, free: 4.805 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches