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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 97.38 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 174.6 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.332/0.332, allocations: 43.55 MB / 314.5 MB, free: 8.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005603/0.0005606, allocations: 12 kB / 383.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1259, allocations: 58.85 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.403/0.5289, allocations: 141.9 MB / 0.5709 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.5403, allocations: 8.809 MB / 0.5795 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.5414, allocations: 23.81 kB / 0.5796 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009066/0.5423, allocations: 274.6 kB / 0.5798 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.546, allocations: 1.19 MB / 0.581 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.5489, allocations: 0.8919 MB / 0.5819 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.5507, allocations: 1.044 MB / 0.5829 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000679/0.5514, allocations: 390.2 kB / 0.5833 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.5532, allocations: 0.744 MB / 0.584 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006653/0.5539, allocations: 450.5 kB / 0.5844 GB, free: 264 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.712e-05/0.5539, allocations: 32 kB / 0.5844 GB, free: 232 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.5557, allocations: 0.6281 MB / 0.5851 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.5559, allocations: 219.4 kB / 0.5853 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.5561, allocations: 165.3 kB / 0.5854 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.5571, allocations: 0.9855 MB / 0.5864 GB, free: 14.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5572, allocations: 0 / 0.5864 GB, free: 14.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5572, allocations: 0 / 0.5864 GB, free: 14.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.5572, allocations: 0 / 0.5864 GB, free: 14.23 MB / 462.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.002004/0.5592, allocations: 0.9908 MB / 0.5874 GB, free: 13.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.5592, allocations: 12.02 kB / 0.5874 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007681/0.56, allocations: 139.1 kB / 0.5875 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007584/0.5608, allocations: 488.6 kB / 0.588 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.5609, allocations: 100.4 kB / 0.5881 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-05/0.561, allocations: 48 kB / 0.5881 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.5621, allocations: 0.8174 MB / 0.5889 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.5621, allocations: 0 / 0.5889 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/0.5622, allocations: 24 kB / 0.5889 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.528e-05/0.5622, allocations: 44.97 kB / 0.589 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/0.5632, allocations: 0.6243 MB / 0.5896 GB, free: 10.79 MB / 462.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.004146/0.5673, allocations: 3.961 MB / 0.5934 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.5679, allocations: 347.6 kB / 0.5938 GB, free: 6.234 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.449e-05/0.568, allocations: 24.92 kB / 0.5938 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.568, allocations: 38.84 kB / 0.5938 GB, free: 6.164 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 3.336e-06/0.568, allocations: 4 kB / 0.5938 GB, free: 6.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005165/0.5732, allocations: 1.675 MB / 0.5955 GB, free: 4.414 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.5733, allocations: 132.5 kB / 0.5956 GB, free: 4.254 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/0.574, allocations: 0.6132 MB / 0.5962 GB, free: 3.633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.574, allocations: 33.7 kB / 0.5962 GB, free: 3.594 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.5743, allocations: 366.9 kB / 0.5966 GB, free: 3.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.5744, allocations: 145.9 kB / 0.5967 GB, free: 3.086 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.5744, allocations: 12 kB / 0.5967 GB, free: 3.074 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5746, allocations: 374.8 kB / 0.5971 GB, free: 2.699 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.5749, allocations: 201.9 kB / 0.5973 GB, free: 2.504 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/0.5755, allocations: 0.5047 MB / 0.5978 GB, free: 1.855 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.5759, allocations: 291.8 kB / 0.5981 GB, free: 1.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5759, allocations: 0 / 0.5981 GB, free: 1.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001422/0.5774, allocations: 0.8767 MB / 0.5989 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.5774, allocations: 15.95 kB / 0.5989 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.5775, allocations: 8 kB / 0.5989 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.579, allocations: 320.8 kB / 0.5992 GB, free: 352 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.5794, allocations: 119.8 kB / 0.5994 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.5806, allocations: 0.9413 MB / 0.6003 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/0.5812, allocations: 43.97 kB / 0.6003 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.448e-05/0.5813, allocations: 64.06 kB / 0.6004 GB, free: 15.16 MB / 478.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 (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.0003671/0.5817, allocations: 241.5 kB / 0.6006 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.5818, allocations: 71.16 kB / 0.6007 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.5832, allocations: 0.6843 MB / 0.6013 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.5832, allocations: 7.953 kB / 0.6014 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.5832, allocations: 1.312 kB / 0.6014 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5833, allocations: 3.984 kB / 0.6014 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.5851, allocations: 1.269 MB / 0.6026 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5852, allocations: 0 / 0.6026 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.5862, allocations: 211.8 kB / 0.6028 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.981e-05/0.5863, allocations: 20.84 kB / 0.6028 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.5863, allocations: 23.94 kB / 0.6028 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.5885, allocations: 2.701 MB / 0.6055 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5885, allocations: 0 / 0.6055 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.5897, allocations: 0.853 MB / 0.6063 GB, free: 8.645 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.5901, allocations: 184.1 kB / 0.6065 GB, free: 8.445 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.5902, allocations: 12.62 kB / 0.6065 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.5906, allocations: 27.97 kB / 0.6065 GB, free: 8.406 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/0.5907, allocations: 35.95 kB / 0.6066 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.5907, allocations: 48.05 kB / 0.6066 GB, free: 8.324 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005343/0.5913, allocations: 427 kB / 0.607 GB, free: 7.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5913, allocations: 0 / 0.607 GB, free: 7.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001042/0.5923, allocations: 296 kB / 0.6073 GB, free: 7.621 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (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.0008561/0.5932, allocations: 365.8 kB / 0.6076 GB, free: 7.262 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.5943, allocations: 0.5385 MB / 0.6082 GB, free: 6.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5943, allocations: 4 kB / 0.6082 GB, free: 6.723 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009671/0.5953, allocations: 422.9 kB / 0.6086 GB, free: 6.297 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.5968, allocations: 329.4 kB / 0.6089 GB, free: 5.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.5988, allocations: 1.542 MB / 0.6104 GB, free: 4.402 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.5993, allocations: 0.9455 MB / 0.6113 GB, free: 3.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009771/0.6003, allocations: 262 kB / 0.6116 GB, free: 3.172 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.6006, allocations: 99.41 kB / 0.6117 GB, free: 3.074 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6006, allocations: 0 / 0.6117 GB, free: 3.074 MB / 478.1 MB Notification: Performance of Templates: time 0.02575/0.6264, allocations: 17.07 MB / 0.6283 GB, free: 2.047 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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