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.001201/0.001201, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.00128/0.00128, allocations: 194 kB / 18.77 MB, free: 4.742 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.35/1.35, allocations: 222.9 MB / 242.5 MB, free: 13.76 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.2234/0.2234, allocations: 44.19 MB / 336.8 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 60.59 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1155, allocations: 60.84 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4137/0.5293, allocations: 148.8 MB / 0.6035 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.5312, allocations: 1.425 MB / 0.6049 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.5312, allocations: 0 / 0.6049 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.5315, allocations: 38.73 kB / 0.6049 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.5341, allocations: 0.8525 MB / 0.6058 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.5341, allocations: 4 kB / 0.6058 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.5342, allocations: 95.66 kB / 0.6059 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.5343, allocations: 4 kB / 0.6059 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.438e-05/0.5343, allocations: 19.92 kB / 0.6059 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.5344, allocations: 27.86 kB / 0.6059 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.5344, allocations: 0 / 0.6059 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.5374, allocations: 1.86 MB / 0.6077 GB, free: 8.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.5375, allocations: 11.98 kB / 0.6077 GB, free: 8.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.5375, allocations: 15.94 kB / 0.6078 GB, free: 8.238 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009408/0.5385, allocations: 0.6199 MB / 0.6084 GB, free: 7.617 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5385, allocations: 0 / 0.6084 GB, free: 7.617 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5385, allocations: 0 / 0.6084 GB, free: 7.617 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.5385, allocations: 0 / 0.6084 GB, free: 7.617 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.000675/0.5392, allocations: 495.2 kB / 0.6088 GB, free: 7.086 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.5392, allocations: 12.02 kB / 0.6088 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.5393, allocations: 10.41 kB / 0.6089 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.549e-05/0.5394, allocations: 168 kB / 0.609 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.5394, allocations: 4 kB / 0.609 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.5394, allocations: 0 / 0.609 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.5396, allocations: 81.55 kB / 0.6091 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.5396, allocations: 0 / 0.6091 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.5396, allocations: 0 / 0.6091 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.5396, allocations: 4 kB / 0.6091 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.5397, allocations: 55.72 kB / 0.6091 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.5402, allocations: 312.6 kB / 0.6094 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.084e-05/0.5403, allocations: 26.58 kB / 0.6095 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.5403, allocations: 20.94 kB / 0.6095 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.5406, allocations: 251.3 kB / 0.6097 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.5406, allocations: 34.56 kB / 0.6098 GB, free: 5.961 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.5406, allocations: 0 / 0.6098 GB, free: 5.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001877/0.5408, allocations: 69.53 kB / 0.6098 GB, free: 5.887 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.5409, allocations: 51.41 kB / 0.6099 GB, free: 5.824 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/0.541, allocations: 101.9 kB / 0.61 GB, free: 5.715 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.541, allocations: 25.7 kB / 0.61 GB, free: 5.684 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.541, allocations: 99.88 kB / 0.6101 GB, free: 5.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.5411, allocations: 11.81 kB / 0.6101 GB, free: 5.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.5411, allocations: 21.7 kB / 0.6101 GB, free: 5.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5413, allocations: 318.8 kB / 0.6104 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.5413, allocations: 8 kB / 0.6104 GB, free: 5.215 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.5413, allocations: 35.42 kB / 0.6105 GB, free: 5.168 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.335e-05/0.5414, allocations: 51.36 kB / 0.6105 GB, free: 5.105 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5414, allocations: 0 / 0.6105 GB, free: 5.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.5415, allocations: 69.62 kB / 0.6106 GB, free: 5.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.5415, allocations: 7.938 kB / 0.6106 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.5415, allocations: 4 kB / 0.6106 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.5416, allocations: 0 / 0.6106 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.941e-05/0.5416, allocations: 20.03 kB / 0.6106 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5417, allocations: 3.938 kB / 0.6106 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.5417, allocations: 7.906 kB / 0.6106 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.5417, allocations: 4 kB / 0.6106 GB, free: 4.984 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 7.214e-05/0.5418, allocations: 117.9 kB / 0.6107 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.5418, allocations: 7.938 kB / 0.6108 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.542, allocations: 65.11 kB / 0.6108 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.542, allocations: 3.938 kB / 0.6108 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.542, allocations: 0.75 kB / 0.6108 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.542, allocations: 4 kB / 0.6108 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.5422, allocations: 173.6 kB / 0.611 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.5422, allocations: 0 / 0.611 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.5422, allocations: 5.688 kB / 0.611 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5422, allocations: 3.938 kB / 0.611 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.5422, allocations: 4 kB / 0.611 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5422, allocations: 0 / 0.611 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5423, allocations: 0 / 0.611 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.5424, allocations: 151.4 kB / 0.6111 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.5424, allocations: 81.09 kB / 0.6112 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.5424, allocations: 7.938 kB / 0.6112 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.087e-05/0.5425, allocations: 4.516 kB / 0.6112 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.5425, allocations: 0 / 0.6112 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.5425, allocations: 4 kB / 0.6112 GB, free: 4.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.605e-05/0.5426, allocations: 87.25 kB / 0.6113 GB, free: 4.184 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5426, allocations: 0 / 0.6113 GB, free: 4.184 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.5431, allocations: 135.9 kB / 0.6115 GB, free: 4.051 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.0008261/0.5439, allocations: 321.1 kB / 0.6118 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.992e-05/0.544, allocations: 27.92 kB / 0.6118 GB, free: 3.715 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.544, allocations: 0 / 0.6118 GB, free: 3.715 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.787e-05/0.544, allocations: 8 kB / 0.6118 GB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.5443, allocations: 14.33 kB / 0.6118 GB, free: 3.695 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.5447, allocations: 180.8 kB / 0.612 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.5449, allocations: 0.6848 MB / 0.6127 GB, free: 2.773 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.545, allocations: 15.44 kB / 0.6127 GB, free: 2.758 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.545, allocations: 0 / 0.6127 GB, free: 2.758 MB / 446.1 MB Notification: Performance of Templates: time 0.004568/0.5496, allocations: 2.808 MB / 0.6154 GB, free: 15.95 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