Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_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.01268/0.01268, allocations: 101.2 kB / 15.87 MB, free: 6.312 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.002222/0.002222, allocations: 193 kB / 16.79 MB, free: 6.246 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.724/1.724, allocations: 205.1 MB / 222.7 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3694/0.3694, allocations: 43.5 MB / 313.5 MB, free: 8.242 MB / 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.001708/0.001708, allocations: 62.56 kB / 382 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1328, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3946/0.5275, allocations: 150.1 MB / 0.576 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.5295, allocations: 1.311 MB / 0.5773 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.5296, allocations: 4 kB / 0.5773 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004251/0.5301, allocations: 31.81 kB / 0.5774 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.5325, allocations: 0.7398 MB / 0.5781 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.987e-06/0.5325, allocations: 0 / 0.5781 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.5327, allocations: 107.6 kB / 0.5782 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.5327, allocations: 3.984 kB / 0.5782 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.5328, allocations: 12 kB / 0.5782 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.5328, allocations: 29.31 kB / 0.5782 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.5329, allocations: 0 / 0.5782 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/0.5359, allocations: 1.735 MB / 0.5799 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.5359, allocations: 11.98 kB / 0.5799 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.536, allocations: 11.94 kB / 0.5799 GB, free: 1.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.5373, allocations: 0.8185 MB / 0.5807 GB, free: 1.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5374, allocations: 0 / 0.5807 GB, free: 1.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5374, allocations: 4 kB / 0.5808 GB, free: 1.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.5374, allocations: 4 kB / 0.5808 GB, free: 1.082 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006954/0.5381, allocations: 461.4 kB / 0.5812 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5381, allocations: 8.031 kB / 0.5812 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.5382, allocations: 5.719 kB / 0.5812 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.5383, allocations: 168.3 kB / 0.5814 GB, free: 380 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.5383, allocations: 11.92 kB / 0.5814 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.5383, allocations: 7.984 kB / 0.5814 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.5385, allocations: 64.41 kB / 0.5815 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.5385, allocations: 0 / 0.5815 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.5385, allocations: 8 kB / 0.5815 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.5386, allocations: 7.984 kB / 0.5815 GB, free: 276 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.5386, allocations: 51.91 kB / 0.5815 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.5391, allocations: 289.4 kB / 0.5818 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.673e-05/0.5392, allocations: 34.67 kB / 0.5818 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.5392, allocations: 16.84 kB / 0.5818 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.5394, allocations: 85.11 kB / 0.5819 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.5394, allocations: 38.55 kB / 0.582 GB, free: 15.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5394, allocations: 0 / 0.582 GB, free: 15.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001695/0.5396, allocations: 57.53 kB / 0.582 GB, free: 15.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.5396, allocations: 51.41 kB / 0.5821 GB, free: 15.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.202e-05/0.5397, allocations: 97.86 kB / 0.5822 GB, free: 15.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.5397, allocations: 25.7 kB / 0.5822 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.5398, allocations: 107.9 kB / 0.5823 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.5398, allocations: 11.84 kB / 0.5823 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.5398, allocations: 17.72 kB / 0.5823 GB, free: 15.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.54, allocations: 314.8 kB / 0.5826 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.54, allocations: 8 kB / 0.5826 GB, free: 14.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.54, allocations: 39.36 kB / 0.5827 GB, free: 14.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.363e-05/0.5401, allocations: 43.75 kB / 0.5827 GB, free: 14.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5401, allocations: 0 / 0.5827 GB, free: 14.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.628e-05/0.5402, allocations: 69.66 kB / 0.5828 GB, free: 14.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5402, allocations: 4 kB / 0.5828 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5402, allocations: 8.641 kB / 0.5828 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.5403, allocations: 4.031 kB / 0.5828 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.5403, allocations: 12 kB / 0.5828 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.5404, allocations: 9.656 kB / 0.5828 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.5404, allocations: 7.844 kB / 0.5828 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.5404, allocations: 4.562 kB / 0.5828 GB, free: 14.72 MB / 462.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 (6): * Single equations (assignments): 6 * 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.977e-05/0.5405, allocations: 117.8 kB / 0.5829 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.5405, allocations: 1.406 kB / 0.5829 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.5407, allocations: 65.12 kB / 0.583 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.5407, allocations: 0 / 0.583 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5407, allocations: 0 / 0.583 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5407, allocations: 0 / 0.583 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.5409, allocations: 162.2 kB / 0.5831 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5409, allocations: 0 / 0.5831 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.5409, allocations: 7.938 kB / 0.5832 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5409, allocations: 0.9375 kB / 0.5832 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.5409, allocations: 3.938 kB / 0.5832 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5409, allocations: 5.406 kB / 0.5832 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5409, allocations: 4 kB / 0.5832 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.5411, allocations: 139.5 kB / 0.5833 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.5411, allocations: 81.02 kB / 0.5834 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.5411, allocations: 7.922 kB / 0.5834 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.5412, allocations: 1.062 kB / 0.5834 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.5412, allocations: 4 kB / 0.5834 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.5412, allocations: 0 / 0.5834 GB, free: 14.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.345e-05/0.5413, allocations: 83.28 kB / 0.5835 GB, free: 13.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5413, allocations: 4 kB / 0.5835 GB, free: 13.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003984/0.5417, allocations: 91.92 kB / 0.5836 GB, free: 13.86 MB / 462.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 (3): * Single equations (assignments): 3 * 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.0006061/0.5423, allocations: 268.6 kB / 0.5838 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.373e-05/0.5424, allocations: 24.22 kB / 0.5838 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.5424, allocations: 0 / 0.5838 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.958e-05/0.5424, allocations: 15.92 kB / 0.5839 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.5427, allocations: 8.312 kB / 0.5839 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.543, allocations: 144.9 kB / 0.584 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.5432, allocations: 0.6848 MB / 0.5847 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.979e-05/0.5433, allocations: 11.98 kB / 0.5847 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.5433, allocations: 11.44 kB / 0.5847 GB, free: 12.66 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5433, allocations: 0 / 0.5847 GB, free: 12.66 MB / 462.1 MB Notification: Performance of Templates: time 0.005218/0.5486, allocations: 2.649 MB / 0.5873 GB, free: 10.03 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches