Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001297, allocations: 114.7 kB / 17.08 MB, free: 5.992 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.001347/0.001347, allocations: 197.2 kB / 18.01 MB, free: 5.07 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.313/1.313, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2182/0.2182, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 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.001638/0.001638, allocations: 67.91 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1199, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5155/0.6355, allocations: 196.4 MB / 0.6804 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.6482, allocations: 10.28 MB / 0.6904 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007054/0.6489, allocations: 19.88 kB / 0.6904 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.6502, allocations: 441.4 kB / 0.6909 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006268/0.6565, allocations: 2.589 MB / 0.6934 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006586/0.6631, allocations: 2.636 MB / 0.696 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002752/0.6658, allocations: 2.197 MB / 0.6981 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007615/0.6666, allocations: 0.6013 MB / 0.6987 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004098/0.6707, allocations: 1.962 MB / 0.7006 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.672, allocations: 0.8566 MB / 0.7015 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.6722, allocations: 96 kB / 0.7015 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009947/0.6821, allocations: 5.736 MB / 0.7071 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000647/0.6828, allocations: 430.9 kB / 0.7076 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007065/0.6835, allocations: 0.5329 MB / 0.7081 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008796/0.6923, allocations: 4.073 MB / 0.7121 GB, free: 5.457 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6923, allocations: 0 / 0.7121 GB, free: 5.457 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6923, allocations: 0 / 0.7121 GB, free: 5.457 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.6924, allocations: 0 / 0.7121 GB, free: 5.457 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004522/0.6969, allocations: 1.801 MB / 0.7138 GB, free: 3.605 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.697, allocations: 11.89 kB / 0.7138 GB, free: 3.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/0.6974, allocations: 110.9 kB / 0.7139 GB, free: 3.484 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/0.6984, allocations: 0.6132 MB / 0.7145 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.6985, allocations: 129.3 kB / 0.7147 GB, free: 2.691 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.6986, allocations: 71.89 kB / 0.7147 GB, free: 2.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.7004, allocations: 1.158 MB / 0.7159 GB, free: 1.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.7004, allocations: 0 / 0.7159 GB, free: 1.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.7005, allocations: 39.92 kB / 0.7159 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.547e-05/0.7006, allocations: 57.97 kB / 0.7159 GB, free: 1.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.7024, allocations: 1.179 MB / 0.7171 GB, free: 140 kB / 0.545 GB 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.006612/0.709, allocations: 4.991 MB / 0.722 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.7107, allocations: 0.8223 MB / 0.7228 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006209/0.7113, allocations: 430.3 kB / 0.7232 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/0.7129, allocations: 1.888 MB / 0.725 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.7129, allocations: 43.12 kB / 0.7251 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/0.7129, allocations: 0 / 0.7251 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01305/0.726, allocations: 4.016 MB / 0.729 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.7261, allocations: 119.4 kB / 0.7291 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008788/0.727, allocations: 0.664 MB / 0.7298 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.349e-05/0.7271, allocations: 41.7 kB / 0.7298 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.7274, allocations: 387.5 kB / 0.7302 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.7277, allocations: 291.8 kB / 0.7304 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.728, allocations: 198.5 kB / 0.7306 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7282, allocations: 386.8 kB / 0.731 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009843/0.7292, allocations: 489.7 kB / 0.7315 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.7304, allocations: 0.7649 MB / 0.7322 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.7326, allocations: 1.281 MB / 0.7335 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.7326, allocations: 4.875 kB / 0.7335 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003397/0.736, allocations: 1.692 MB / 0.7351 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.736, allocations: 14.81 kB / 0.7351 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.736, allocations: 8.594 kB / 0.7351 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006941/0.743, allocations: 1.32 MB / 0.7364 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/0.7436, allocations: 155.7 kB / 0.7366 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/0.7462, allocations: 1.537 MB / 0.7381 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008665/0.747, allocations: 56.53 kB / 0.7381 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.7472, allocations: 63.98 kB / 0.7382 GB, free: 9.398 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005231/0.7477, allocations: 297.5 kB / 0.7385 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.748, allocations: 90.95 kB / 0.7386 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/0.7513, allocations: 1.628 MB / 0.7402 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.7513, allocations: 8 kB / 0.7402 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.7514, allocations: 7.875 kB / 0.7402 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.7514, allocations: 15.92 kB / 0.7402 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/0.7557, allocations: 2.539 MB / 0.7427 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.7558, allocations: 5.109 kB / 0.7427 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.757, allocations: 259.7 kB / 0.7429 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.7587, allocations: 380.5 kB / 0.7433 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.633e-05/0.7588, allocations: 31.98 kB / 0.7433 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.7612, allocations: 2.359 MB / 0.7456 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.7613, allocations: 0 / 0.7456 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003589/0.7649, allocations: 2.023 MB / 0.7476 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.7654, allocations: 295.9 kB / 0.7479 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.7655, allocations: 23.98 kB / 0.7479 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008116/0.7664, allocations: 55.95 kB / 0.748 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.7665, allocations: 60.91 kB / 0.748 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.7666, allocations: 51.97 kB / 0.7481 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006026/0.7672, allocations: 0.499 MB / 0.7485 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7672, allocations: 0 / 0.7485 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001999/0.7692, allocations: 0.7027 MB / 0.7492 GB, free: 13.77 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002512/0.7718, allocations: 0.8986 MB / 0.7501 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002553/0.7743, allocations: 1.248 MB / 0.7513 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7744, allocations: 0 / 0.7513 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.776, allocations: 0.7056 MB / 0.752 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.7782, allocations: 0.5146 MB / 0.7525 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.7827, allocations: 2.212 MB / 0.7547 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/0.7833, allocations: 1.039 MB / 0.7557 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.7837, allocations: 111.4 kB / 0.7558 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.7837, allocations: 0 / 0.7558 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of Templates: time 0.3257/1.109, allocations: 29.2 MB / 0.7843 GB, free: 216.3 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches