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.001306/0.001306, allocations: 98.56 kB / 17 MB, free: 6.418 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.001687/0.001687, allocations: 188.6 kB / 17.89 MB, free: 5.945 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.533/1.533, allocations: 223.3 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2021/0.2021, allocations: 44.25 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 11.94 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1222, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4125/0.5348, allocations: 136.9 MB / 0.5942 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.5366, allocations: 1.232 MB / 0.5954 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.5366, allocations: 0 / 0.5954 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.5368, allocations: 23.89 kB / 0.5955 GB, free: 8.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.5389, allocations: 0.7581 MB / 0.5962 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.168e-06/0.5389, allocations: 3.938 kB / 0.5962 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.5391, allocations: 79.67 kB / 0.5963 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.073e-05/0.5391, allocations: 1.312 kB / 0.5963 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.858e-05/0.5391, allocations: 19.92 kB / 0.5963 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.5392, allocations: 27.91 kB / 0.5963 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.354e-06/0.5392, allocations: 0 / 0.5963 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.5417, allocations: 1.54 MB / 0.5978 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.5418, allocations: 15.98 kB / 0.5978 GB, free: 6.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.5418, allocations: 29.7 kB / 0.5979 GB, free: 6.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008161/0.5427, allocations: 0.5633 MB / 0.5984 GB, free: 5.836 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.5427, allocations: 0 / 0.5984 GB, free: 5.836 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5427, allocations: 0 / 0.5984 GB, free: 5.836 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.5427, allocations: 0 / 0.5984 GB, free: 5.836 MB / 430.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.0006315/0.5433, allocations: 487 kB / 0.5989 GB, free: 5.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.5434, allocations: 8.031 kB / 0.5989 GB, free: 5.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.5434, allocations: 9.344 kB / 0.5989 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.481e-05/0.5435, allocations: 170.8 kB / 0.5991 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5435, allocations: 4 kB / 0.5991 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.5436, allocations: 7.938 kB / 0.5991 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.5437, allocations: 71.52 kB / 0.5991 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.5437, allocations: 0 / 0.5991 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5437, allocations: 8 kB / 0.5992 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.5438, allocations: 8 kB / 0.5992 GB, free: 4.992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.605e-05/0.5439, allocations: 47.97 kB / 0.5992 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.5443, allocations: 300.7 kB / 0.5995 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/0.5444, allocations: 34.56 kB / 0.5995 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.5444, allocations: 12.8 kB / 0.5995 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.5447, allocations: 259.4 kB / 0.5998 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.5447, allocations: 34.56 kB / 0.5998 GB, free: 4.195 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.5447, allocations: 0 / 0.5998 GB, free: 4.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001864/0.5449, allocations: 61.81 kB / 0.5999 GB, free: 4.129 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.545, allocations: 55.36 kB / 0.5999 GB, free: 4.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.5451, allocations: 105.8 kB / 0.6 GB, free: 3.949 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.5451, allocations: 25.7 kB / 0.6001 GB, free: 3.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.5451, allocations: 95.89 kB / 0.6002 GB, free: 3.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.5452, allocations: 15.8 kB / 0.6002 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-06/0.5452, allocations: 4.109 kB / 0.6002 GB, free: 3.801 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5453, allocations: 322.8 kB / 0.6005 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.5453, allocations: 8 kB / 0.6005 GB, free: 3.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.5454, allocations: 35.42 kB / 0.6005 GB, free: 3.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.5454, allocations: 8 kB / 0.6005 GB, free: 3.414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5454, allocations: 4 kB / 0.6005 GB, free: 3.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001123/0.5455, allocations: 73.55 kB / 0.6006 GB, free: 3.332 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5456, allocations: 10.5 kB / 0.6006 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5456, allocations: 0 / 0.6006 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.5456, allocations: 0 / 0.6006 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.78e-05/0.5457, allocations: 16 kB / 0.6006 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.5457, allocations: 0 / 0.6006 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.656e-05/0.5457, allocations: 15.8 kB / 0.6006 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.5457, allocations: 7.984 kB / 0.6006 GB, free: 3.285 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/0.5458, allocations: 122.4 kB / 0.6008 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.5459, allocations: 0 / 0.6008 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.546, allocations: 65.67 kB / 0.6008 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.546, allocations: 4 kB / 0.6008 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.546, allocations: 0 / 0.6008 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.546, allocations: 0 / 0.6008 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.5463, allocations: 165.6 kB / 0.601 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5463, allocations: 0 / 0.601 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.5463, allocations: 8 kB / 0.601 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5463, allocations: 3.984 kB / 0.601 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.5463, allocations: 4 kB / 0.601 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5463, allocations: 3.938 kB / 0.601 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5463, allocations: 0 / 0.601 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.5465, allocations: 147.4 kB / 0.6011 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.5465, allocations: 81.11 kB / 0.6012 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.5465, allocations: 8 kB / 0.6012 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.5466, allocations: 0 / 0.6012 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.5466, allocations: 3.984 kB / 0.6012 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.5466, allocations: 4 kB / 0.6012 GB, free: 2.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.62e-05/0.5467, allocations: 75.28 kB / 0.6013 GB, free: 2.508 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5467, allocations: 4 kB / 0.6013 GB, free: 2.504 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.5472, allocations: 135.8 kB / 0.6014 GB, free: 2.371 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007143/0.5479, allocations: 307.4 kB / 0.6017 GB, free: 2.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.817e-05/0.548, allocations: 31.92 kB / 0.6018 GB, free: 2.039 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.548, allocations: 0 / 0.6018 GB, free: 2.039 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/0.548, allocations: 19.92 kB / 0.6018 GB, free: 2.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.5483, allocations: 8.109 kB / 0.6018 GB, free: 2.012 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.5486, allocations: 160.7 kB / 0.602 GB, free: 1.824 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.5489, allocations: 0.677 MB / 0.6026 GB, free: 1.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.86e-05/0.5489, allocations: 23.91 kB / 0.6026 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.549, allocations: 15.44 kB / 0.6026 GB, free: 1.082 MB / 430.1 MB Notification: Performance of SimCode: time 2.294e-06/0.549, allocations: 0 / 0.6026 GB, free: 1.082 MB / 430.1 MB Notification: Performance of Templates: time 0.006182/0.5552, allocations: 3.249 MB / 0.6058 GB, free: 13.84 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/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