Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001415/0.001415, allocations: 189.3 kB / 19.33 MB, free: 3.781 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.524/1.524, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.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.002097/0.002097, allocations: 55.92 kB / 329.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1179, allocations: 46.61 MB / 375.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4046/0.5226, allocations: 186.6 MB / 0.5493 GB, free: 4.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.245/0.7677, allocations: 4.776 MB / 0.5539 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004575/0.7682, allocations: 7.219 kB / 0.5539 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008564/0.7691, allocations: 245.8 kB / 0.5542 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008361/0.7699, allocations: 372.7 kB / 0.5545 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008668/0.7786, allocations: 2.864 MB / 0.5573 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.7808, allocations: 1.164 MB / 0.5585 GB, free: 1.48 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.7812, allocations: 152.5 kB / 0.5586 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004124/0.7853, allocations: 1.462 MB / 0.56 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008294/0.7862, allocations: 424.4 kB / 0.5604 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.7863, allocations: 63.31 kB / 0.5605 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008918/0.7953, allocations: 4.213 MB / 0.5646 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005166/0.7958, allocations: 234.6 kB / 0.5648 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007064/0.7965, allocations: 321.4 kB / 0.5651 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007787/0.8043, allocations: 2.906 MB / 0.568 GB, free: 1.266 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.8044, allocations: 0 / 0.568 GB, free: 1.266 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.8044, allocations: 0.6562 kB / 0.568 GB, free: 1.266 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.8044, allocations: 1.156 kB / 0.568 GB, free: 1.266 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003203/0.8076, allocations: 1.137 MB / 0.5691 GB, free: 16.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.8077, allocations: 13.48 kB / 0.5691 GB, free: 16.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003881/0.8081, allocations: 67.8 kB / 0.5692 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.8086, allocations: 359.5 kB / 0.5695 GB, free: 16.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.8087, allocations: 34.31 kB / 0.5696 GB, free: 16.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.8087, allocations: 42.53 kB / 0.5696 GB, free: 16.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008827/0.8096, allocations: 0.5089 MB / 0.5701 GB, free: 16.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.8097, allocations: 1.719 kB / 0.5701 GB, free: 16.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.8097, allocations: 20 kB / 0.5701 GB, free: 16.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.8098, allocations: 11.59 kB / 0.5701 GB, free: 16.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009887/0.8108, allocations: 0.6006 MB / 0.5707 GB, free: 16.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003255/0.814, allocations: 2.168 MB / 0.5728 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.8151, allocations: 0.5569 MB / 0.5734 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.8154, allocations: 260.6 kB / 0.5736 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005651/0.816, allocations: 0.6929 MB / 0.5743 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.8161, allocations: 44.72 kB / 0.5743 GB, free: 14.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.144e-06/0.8161, allocations: 0 / 0.5743 GB, free: 14.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01346/0.8295, allocations: 3.634 MB / 0.5779 GB, free: 13.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.8296, allocations: 61.12 kB / 0.5779 GB, free: 13.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.8299, allocations: 301.6 kB / 0.5782 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.83, allocations: 38.95 kB / 0.5783 GB, free: 13.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.8301, allocations: 194.2 kB / 0.5785 GB, free: 13.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.8303, allocations: 221.6 kB / 0.5787 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.8305, allocations: 114.7 kB / 0.5788 GB, free: 13.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8306, allocations: 354 kB / 0.5791 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.8312, allocations: 308 kB / 0.5794 GB, free: 12.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.8319, allocations: 388.7 kB / 0.5798 GB, free: 12.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.8332, allocations: 0.7111 MB / 0.5805 GB, free: 12.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8332, allocations: 2.438 kB / 0.5805 GB, free: 12.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001961/0.8352, allocations: 0.9682 MB / 0.5814 GB, free: 12.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.8352, allocations: 5.469 kB / 0.5814 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8353, allocations: 3.406 kB / 0.5814 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.8367, allocations: 335 kB / 0.5817 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.8372, allocations: 122.6 kB / 0.5819 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003278/0.8405, allocations: 3.702 MB / 0.5855 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.8412, allocations: 39 kB / 0.5855 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.8413, allocations: 26.78 kB / 0.5855 GB, free: 9.406 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003313/0.8416, allocations: 194.9 kB / 0.5857 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.8417, allocations: 43.67 kB / 0.5858 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.8441, allocations: 1.024 MB / 0.5868 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.8441, allocations: 13.38 kB / 0.5868 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8441, allocations: 0 / 0.5868 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002135/0.8463, allocations: 1.066 MB / 0.5878 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.8492, allocations: 1.698 MB / 0.5895 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.8492, allocations: 0.75 kB / 0.5895 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/0.8498, allocations: 111 kB / 0.5896 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.8515, allocations: 375.8 kB / 0.5899 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/0.8516, allocations: 25.98 kB / 0.59 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.8531, allocations: 0.8678 MB / 0.5908 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8531, allocations: 0 / 0.5908 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.8558, allocations: 1.344 MB / 0.5921 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.856, allocations: 113.5 kB / 0.5922 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/0.8561, allocations: 21.75 kB / 0.5923 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/0.8568, allocations: 43.58 kB / 0.5923 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.8569, allocations: 46.75 kB / 0.5923 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.857, allocations: 29.34 kB / 0.5924 GB, free: 7.629 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002444/0.8572, allocations: 226.6 kB / 0.5926 GB, free: 7.547 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8572, allocations: 0 / 0.5926 GB, free: 7.547 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001623/0.8589, allocations: 453.5 kB / 0.593 GB, free: 7.477 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001363/0.8602, allocations: 0.5715 MB / 0.5936 GB, free: 7.312 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.8622, allocations: 1.001 MB / 0.5946 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.8622, allocations: 0 / 0.5946 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008195/0.863, allocations: 424.6 kB / 0.595 GB, free: 7.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.8645, allocations: 316 kB / 0.5953 GB, free: 7.051 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.8673, allocations: 1.358 MB / 0.5966 GB, free: 6.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.8677, allocations: 0.8531 MB / 0.5974 GB, free: 5.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.868, allocations: 58.61 kB / 0.5975 GB, free: 5.832 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.868, allocations: 0 / 0.5975 GB, free: 5.832 MB / 494.1 MB Notification: Performance of Templates: time 0.02303/0.891, allocations: 17.49 MB / 0.6146 GB, free: 11.82 MB / 0.4981 GB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches