Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 108.4 kB / 17.98 MB, free: 5.367 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.001057/0.001057, allocations: 189.4 kB / 18.9 MB, free: 4.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2177/0.2177, allocations: 44.18 MB / 336.9 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 56.91 kB / 408.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 60.82 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3972/0.5157, allocations: 148.8 MB / 0.6037 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.5177, allocations: 1.328 MB / 0.605 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.5178, allocations: 4 kB / 0.605 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.5181, allocations: 36.48 kB / 0.6051 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.5209, allocations: 0.927 MB / 0.606 GB, free: 10 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.03e-06/0.5209, allocations: 0 / 0.606 GB, free: 10 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.521, allocations: 53.03 kB / 0.606 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.5211, allocations: 8 kB / 0.606 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.5211, allocations: 15.94 kB / 0.606 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.5212, allocations: 27.84 kB / 0.6061 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.256e-06/0.5212, allocations: 0 / 0.6061 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.5242, allocations: 1.825 MB / 0.6078 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.5242, allocations: 7.984 kB / 0.6079 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.5243, allocations: 19.92 kB / 0.6079 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.5253, allocations: 0.616 MB / 0.6085 GB, free: 7.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5253, allocations: 4 kB / 0.6085 GB, free: 7.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5253, allocations: 4 kB / 0.6085 GB, free: 7.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.5253, allocations: 0 / 0.6085 GB, free: 7.418 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006312/0.526, allocations: 479.2 kB / 0.6089 GB, free: 6.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.526, allocations: 12.03 kB / 0.609 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.526, allocations: 11.14 kB / 0.609 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.04e-05/0.5261, allocations: 175.9 kB / 0.6091 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.5261, allocations: 0 / 0.6091 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.5262, allocations: 8 kB / 0.6091 GB, free: 6.664 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.5263, allocations: 69.61 kB / 0.6092 GB, free: 6.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.5263, allocations: 4 kB / 0.6092 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.5263, allocations: 4 kB / 0.6092 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.5264, allocations: 4 kB / 0.6092 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.119e-05/0.5264, allocations: 51.97 kB / 0.6093 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.5268, allocations: 304.7 kB / 0.6096 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.612e-05/0.5269, allocations: 34.52 kB / 0.6096 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.5269, allocations: 16.94 kB / 0.6096 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.5271, allocations: 255.3 kB / 0.6099 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.5272, allocations: 30.56 kB / 0.6099 GB, free: 5.773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.5272, allocations: 0 / 0.6099 GB, free: 5.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001755/0.5273, allocations: 69.55 kB / 0.6099 GB, free: 5.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.5274, allocations: 55.34 kB / 0.61 GB, free: 5.633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.5275, allocations: 97.86 kB / 0.6101 GB, free: 5.527 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.5275, allocations: 25.7 kB / 0.6101 GB, free: 5.496 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.5275, allocations: 103.9 kB / 0.6102 GB, free: 5.391 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.5275, allocations: 15.75 kB / 0.6102 GB, free: 5.375 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.5276, allocations: 21.72 kB / 0.6103 GB, free: 5.348 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.5277, allocations: 314.8 kB / 0.6106 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.5277, allocations: 4 kB / 0.6106 GB, free: 5.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.611e-05/0.5277, allocations: 35.42 kB / 0.6106 GB, free: 4.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.457e-05/0.5278, allocations: 51.38 kB / 0.6106 GB, free: 4.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5278, allocations: 3.984 kB / 0.6106 GB, free: 4.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001098/0.5279, allocations: 69.62 kB / 0.6107 GB, free: 4.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.528, allocations: 7.938 kB / 0.6107 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.528, allocations: 0 / 0.6107 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.528, allocations: 8.094 kB / 0.6107 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.5281, allocations: 15.92 kB / 0.6107 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.5281, allocations: 4.781 kB / 0.6107 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.5281, allocations: 8.328 kB / 0.6108 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5281, allocations: 4 kB / 0.6108 GB, free: 4.793 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.5282, allocations: 109.8 kB / 0.6109 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.5282, allocations: 7.938 kB / 0.6109 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.5284, allocations: 79.36 kB / 0.6109 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5284, allocations: 0 / 0.6109 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5284, allocations: 0 / 0.6109 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.5284, allocations: 0 / 0.6109 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.5286, allocations: 167.8 kB / 0.6111 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5286, allocations: 3.938 kB / 0.6111 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.5286, allocations: 8 kB / 0.6111 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5287, allocations: 3.938 kB / 0.6111 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.5287, allocations: 0 / 0.6111 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5287, allocations: 4 kB / 0.6111 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5287, allocations: 0 / 0.6111 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.5288, allocations: 151.4 kB / 0.6113 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.5288, allocations: 89.03 kB / 0.6114 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.5289, allocations: 7.875 kB / 0.6114 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.013e-05/0.5289, allocations: 4 kB / 0.6114 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.5289, allocations: 0 / 0.6114 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.5289, allocations: 4 kB / 0.6114 GB, free: 4.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.807e-05/0.529, allocations: 83.28 kB / 0.6114 GB, free: 3.992 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.529, allocations: 0 / 0.6114 GB, free: 3.992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005391/0.5295, allocations: 135.9 kB / 0.6116 GB, free: 3.859 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.5306, allocations: 314.1 kB / 0.6119 GB, free: 3.559 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.5307, allocations: 39.91 kB / 0.6119 GB, free: 3.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5307, allocations: 4.188 kB / 0.6119 GB, free: 3.516 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.947e-05/0.5308, allocations: 8 kB / 0.6119 GB, free: 3.508 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.5311, allocations: 7.922 kB / 0.6119 GB, free: 3.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.5315, allocations: 178.9 kB / 0.6121 GB, free: 3.293 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.5319, allocations: 0.6807 MB / 0.6128 GB, free: 2.586 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.5319, allocations: 19.42 kB / 0.6128 GB, free: 2.566 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.532, allocations: 0 / 0.6128 GB, free: 2.566 MB / 446.1 MB Notification: Performance of Templates: time 0.005596/0.5376, allocations: 2.8 MB / 0.6155 GB, free: 15.76 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches