Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008445/0.0008445, allocations: 86.3 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2344/0.2344, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.228e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1414, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.542/1.683, allocations: 0.6183 GB / 1.084 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.684, allocations: 95.22 kB / 1.084 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.111/2.794, allocations: 226.3 MB / 1.305 GB, free: 94.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.484e-06/2.795, allocations: 1.219 kB / 1.305 GB, free: 94.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001013/2.795, allocations: 20.66 kB / 1.305 GB, free: 94.16 MB / 0.4948 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.003945/2.799, allocations: 1.146 MB / 1.306 GB, free: 93.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/2.799, allocations: 8.719 kB / 1.306 GB, free: 93.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009654/2.8, allocations: 138.9 kB / 1.307 GB, free: 93.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/2.801, allocations: 0.5419 MB / 1.307 GB, free: 93.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/2.801, allocations: 87.09 kB / 1.307 GB, free: 93.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/2.801, allocations: 29.88 kB / 1.307 GB, free: 93.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00114/2.802, allocations: 0.5272 MB / 1.308 GB, free: 93.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/2.803, allocations: 0.726 MB / 1.308 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/2.804, allocations: 12.19 kB / 1.308 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/2.804, allocations: 3.75 kB / 1.308 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.139e-05/2.804, allocations: 37.17 kB / 1.309 GB, free: 93.21 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.004563/2.808, allocations: 3.885 MB / 1.312 GB, free: 90.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/2.809, allocations: 248.8 kB / 1.313 GB, free: 90.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/2.809, allocations: 134.6 kB / 1.313 GB, free: 90.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.483e-05/2.809, allocations: 30.03 kB / 1.313 GB, free: 90.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/2.809, allocations: 45.02 kB / 1.313 GB, free: 90.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 3.317e-06/2.809, allocations: 0.75 kB / 1.313 GB, free: 90.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.006003/2.815, allocations: 1.451 MB / 1.314 GB, free: 90.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/2.815, allocations: 132 kB / 1.314 GB, free: 89.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008075/2.816, allocations: 468.5 kB / 1.315 GB, free: 89.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/2.816, allocations: 26.92 kB / 1.315 GB, free: 89.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/2.816, allocations: 391.8 kB / 1.315 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/2.817, allocations: 119.3 kB / 1.315 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/2.817, allocations: 0 / 1.315 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001122/2.817, allocations: 368.9 kB / 1.316 GB, free: 89.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/2.817, allocations: 177.6 kB / 1.316 GB, free: 89.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/2.818, allocations: 491 kB / 1.316 GB, free: 88.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/2.818, allocations: 324.1 kB / 1.317 GB, free: 88.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/2.818, allocations: 5.656 kB / 1.317 GB, free: 88.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001617/2.82, allocations: 0.8149 MB / 1.317 GB, free: 88.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/2.82, allocations: 12.53 kB / 1.317 GB, free: 88.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/2.82, allocations: 9.938 kB / 1.317 GB, free: 88.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/2.821, allocations: 274.4 kB / 1.318 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/2.822, allocations: 122.1 kB / 1.318 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/2.823, allocations: 0.946 MB / 1.319 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/2.823, allocations: 33.81 kB / 1.319 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/2.824, allocations: 71.58 kB / 1.319 GB, free: 88.24 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002076/2.824, allocations: 128.3 kB / 1.319 GB, free: 88.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/2.824, allocations: 67.84 kB / 1.319 GB, free: 88.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/2.825, allocations: 0.514 MB / 1.319 GB, free: 88.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/2.825, allocations: 4.188 kB / 1.319 GB, free: 88.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/2.825, allocations: 0 / 1.319 GB, free: 88.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/2.825, allocations: 3.953 kB / 1.319 GB, free: 88.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/2.827, allocations: 0.9803 MB / 1.32 GB, free: 87.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/2.827, allocations: 1.156 kB / 1.32 GB, free: 87.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/2.828, allocations: 198.2 kB / 1.321 GB, free: 87.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/2.829, allocations: 29.2 kB / 1.321 GB, free: 87.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/2.829, allocations: 7.812 kB / 1.321 GB, free: 87.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/2.83, allocations: 2.586 MB / 1.323 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/2.83, allocations: 1.219 kB / 1.323 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/2.831, allocations: 0.6871 MB / 1.324 GB, free: 85.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/2.832, allocations: 183.4 kB / 1.324 GB, free: 84.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-05/2.832, allocations: 3.938 kB / 1.324 GB, free: 84.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/2.832, allocations: 22.11 kB / 1.324 GB, free: 84.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/2.832, allocations: 36.09 kB / 1.324 GB, free: 84.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/2.832, allocations: 35.02 kB / 1.324 GB, free: 84.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004515/2.833, allocations: 343.4 kB / 1.324 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/2.833, allocations: 0 / 1.324 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001782/2.835, allocations: 342.1 kB / 1.325 GB, free: 84.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002508/2.837, allocations: 1.189 MB / 1.326 GB, free: 84.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001397/2.839, allocations: 493.7 kB / 1.326 GB, free: 84.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/2.839, allocations: 0 / 1.326 GB, free: 84.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008222/2.839, allocations: 360 kB / 1.327 GB, free: 84.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/2.841, allocations: 240.3 kB / 1.327 GB, free: 84.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/2.843, allocations: 0.8725 MB / 1.328 GB, free: 84.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/2.843, allocations: 0.9451 MB / 1.329 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001033/2.844, allocations: 247.6 kB / 1.329 GB, free: 83.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/2.844, allocations: 90.8 kB / 1.329 GB, free: 83.58 MB / 0.4948 GB Notification: Performance of SimCode: time 1.853e-06/2.844, allocations: 0 / 1.329 GB, free: 83.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.03483/2.879, allocations: 18.43 MB / 1.347 GB, free: 83.12 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches