Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.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.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 101.5 kB / 269.9 MB, free: 8.426 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.316/0.316, allocations: 43.5 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009642/0.0009644, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1088, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3323/0.4411, allocations: 151.3 MB / 0.6233 GB, free: 8.812 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.4553, allocations: 13.77 MB / 0.6368 GB, free: 12.85 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.4556, allocations: 4 kB / 0.6368 GB, free: 12.85 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.456, allocations: 75.61 kB / 0.6369 GB, free: 12.77 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007551/0.4636, allocations: 3.017 MB / 0.6398 GB, free: 9.758 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.464, allocations: 157.8 kB / 0.64 GB, free: 9.609 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007943/0.4648, allocations: 0.7635 MB / 0.6407 GB, free: 8.844 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.4648, allocations: 23.27 kB / 0.6407 GB, free: 8.824 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.4651, allocations: 219.2 kB / 0.6409 GB, free: 8.609 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006083/0.4657, allocations: 402.8 kB / 0.6413 GB, free: 8.215 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.4658, allocations: 8 kB / 0.6413 GB, free: 8.207 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008257/0.4741, allocations: 5.412 MB / 0.6466 GB, free: 2.785 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.4742, allocations: 99.61 kB / 0.6467 GB, free: 2.688 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.4744, allocations: 151.3 kB / 0.6469 GB, free: 2.539 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005267/0.4797, allocations: 2.763 MB / 0.6496 GB, free: 15.77 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4797, allocations: 0 / 0.6496 GB, free: 15.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4797, allocations: 4 kB / 0.6496 GB, free: 15.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.4797, allocations: 0 / 0.6496 GB, free: 15.77 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002485/0.4822, allocations: 1.127 MB / 0.6507 GB, free: 14.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4823, allocations: 8.031 kB / 0.6507 GB, free: 14.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.4825, allocations: 32.84 kB / 0.6507 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.4828, allocations: 258.6 kB / 0.6509 GB, free: 14.26 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.4829, allocations: 135.5 kB / 0.6511 GB, free: 14.11 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.483, allocations: 24 kB / 0.6511 GB, free: 14.08 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.4837, allocations: 0.575 MB / 0.6517 GB, free: 13.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.4838, allocations: 3.984 kB / 0.6517 GB, free: 13.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.4838, allocations: 12 kB / 0.6517 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.4839, allocations: 32.53 kB / 0.6517 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.4852, allocations: 1.259 MB / 0.6529 GB, free: 12.18 MB / 474.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.002257/0.4875, allocations: 2.003 MB / 0.6549 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.4881, allocations: 268.8 kB / 0.6551 GB, free: 9.754 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.4883, allocations: 130 kB / 0.6553 GB, free: 9.625 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003235/0.4916, allocations: 3.348 MB / 0.6585 GB, free: 5.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.4916, allocations: 38.56 kB / 0.6586 GB, free: 5.684 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 1.813e-06/0.4916, allocations: 4 kB / 0.6586 GB, free: 5.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=44): time 0.001706/0.4933, allocations: 0.7189 MB / 0.6593 GB, free: 4.934 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.4934, allocations: 55.41 kB / 0.6593 GB, free: 4.867 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4935, allocations: 198.3 kB / 0.6595 GB, free: 4.664 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.4936, allocations: 33.7 kB / 0.6596 GB, free: 4.625 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.4937, allocations: 199.7 kB / 0.6597 GB, free: 4.426 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.4938, allocations: 153.8 kB / 0.6599 GB, free: 4.273 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.494, allocations: 138.2 kB / 0.66 GB, free: 4.133 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4941, allocations: 334.8 kB / 0.6603 GB, free: 3.797 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.4943, allocations: 105.2 kB / 0.6604 GB, free: 3.691 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.4947, allocations: 425.3 kB / 0.6609 GB, free: 3.133 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.4953, allocations: 0.5802 MB / 0.6614 GB, free: 2.406 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4953, allocations: 4 kB / 0.6614 GB, free: 2.402 MB / 474.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009289/0.4963, allocations: 0.5676 MB / 0.662 GB, free: 1.832 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4963, allocations: 8 kB / 0.662 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.4963, allocations: 12 kB / 0.662 GB, free: 1.812 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.4963, allocations: 16.06 kB / 0.662 GB, free: 1.797 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.497, allocations: 196.6 kB / 0.6622 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005823/0.4976, allocations: 1.195 MB / 0.6634 GB, free: 372 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.4979, allocations: 36.16 kB / 0.6634 GB, free: 336 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/0.498, allocations: 63.98 kB / 0.6635 GB, free: 268 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.4981, allocations: 175.5 kB / 0.6636 GB, free: 84 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.4982, allocations: 27.72 kB / 0.6637 GB, free: 56 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.4994, allocations: 0.6513 MB / 0.6643 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.4994, allocations: 4 kB / 0.6643 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4994, allocations: 4 kB / 0.6643 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4995, allocations: 3.984 kB / 0.6643 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008343/0.5003, allocations: 0.6453 MB / 0.6649 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5003, allocations: 4 kB / 0.6649 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.5007, allocations: 99.88 kB / 0.665 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5007, allocations: 0 / 0.665 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.5008, allocations: 19.98 kB / 0.665 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004586/0.5012, allocations: 1.172 MB / 0.6662 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5012, allocations: 0 / 0.6662 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008765/0.5021, allocations: 1.018 MB / 0.6672 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.5023, allocations: 128.7 kB / 0.6673 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.5023, allocations: 7.938 kB / 0.6673 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.5026, allocations: 19.92 kB / 0.6673 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.5026, allocations: 24.25 kB / 0.6674 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.5027, allocations: 19.98 kB / 0.6674 GB, free: 12.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001503/0.5028, allocations: 172.5 kB / 0.6675 GB, free: 11.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5028, allocations: 4 kB / 0.6675 GB, free: 11.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001801/0.5046, allocations: 0.5738 MB / 0.6681 GB, free: 11.28 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002452/0.5071, allocations: 0.8717 MB / 0.669 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008374/0.5079, allocations: 382.3 kB / 0.6693 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.508, allocations: 4 kB / 0.6693 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.5083, allocations: 156 kB / 0.6695 GB, free: 9.871 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007758/0.5091, allocations: 128.6 kB / 0.6696 GB, free: 9.746 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.5212, allocations: 8.618 MB / 0.678 GB, free: 1.082 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.5216, allocations: 0.7776 MB / 0.6788 GB, free: 284 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009/0.5225, allocations: 186.8 kB / 0.679 GB, free: 96 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.5228, allocations: 75.39 kB / 0.679 GB, free: 24 kB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5228, allocations: 7.938 kB / 0.679 GB, free: 16 kB / 490.7 MB Notification: Performance of Templates: time 0.1962/0.719, allocations: 16.73 MB / 0.6954 GB, free: 166.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches