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.001148/0.001148, allocations: 110.4 kB / 17.04 MB, free: 6.078 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.001058/0.001058, allocations: 195 kB / 17.97 MB, free: 5.16 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.302/1.302, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.215/0.215, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 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.001633/0.001633, allocations: 67.02 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1119, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4084/0.5203, allocations: 152.2 MB / 0.5802 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.5218, allocations: 1.211 MB / 0.5814 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.5218, allocations: 4 kB / 0.5814 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.5222, allocations: 35.92 kB / 0.5815 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.5245, allocations: 0.8744 MB / 0.5823 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.809e-06/0.5245, allocations: 0 / 0.5823 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.5246, allocations: 47.36 kB / 0.5824 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.5247, allocations: 7.375 kB / 0.5824 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.383e-05/0.5247, allocations: 18.86 kB / 0.5824 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.5248, allocations: 18.84 kB / 0.5824 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.5248, allocations: 2.219 kB / 0.5824 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.5275, allocations: 1.619 MB / 0.584 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.5275, allocations: 15.92 kB / 0.584 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.5276, allocations: 15.84 kB / 0.584 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.5288, allocations: 0.7757 MB / 0.5848 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5288, allocations: 4 kB / 0.5848 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5288, allocations: 0 / 0.5848 GB, free: 11.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.5288, allocations: 0 / 0.5848 GB, free: 11.96 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006111/0.5295, allocations: 469.5 kB / 0.5852 GB, free: 11.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5295, allocations: 11.61 kB / 0.5852 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.5295, allocations: 6.031 kB / 0.5852 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.425e-05/0.5296, allocations: 168.3 kB / 0.5854 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.5297, allocations: 3.938 kB / 0.5854 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.5297, allocations: 2.75 kB / 0.5854 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.5298, allocations: 76.77 kB / 0.5855 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.5298, allocations: 0 / 0.5855 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.5299, allocations: 3.125 kB / 0.5855 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.5299, allocations: 8.328 kB / 0.5855 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.53e-05/0.53, allocations: 50.84 kB / 0.5855 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.5304, allocations: 290.8 kB / 0.5858 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.533e-05/0.5305, allocations: 32.52 kB / 0.5859 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.5305, allocations: 17.31 kB / 0.5859 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.5307, allocations: 90.78 kB / 0.586 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5307, allocations: 36.77 kB / 0.586 GB, free: 10.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.5307, allocations: 0 / 0.586 GB, free: 10.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001724/0.5309, allocations: 57.44 kB / 0.586 GB, free: 10.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.5309, allocations: 55.34 kB / 0.5861 GB, free: 10.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.739e-05/0.531, allocations: 94.67 kB / 0.5862 GB, free: 10.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.531, allocations: 32.52 kB / 0.5862 GB, free: 10.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.5311, allocations: 99.06 kB / 0.5863 GB, free: 10.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-06/0.5311, allocations: 5.844 kB / 0.5863 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.5311, allocations: 18.81 kB / 0.5863 GB, free: 10.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5312, allocations: 320.5 kB / 0.5866 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.5313, allocations: 2.5 kB / 0.5866 GB, free: 10.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.5313, allocations: 35.86 kB / 0.5867 GB, free: 10.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.5314, allocations: 51.14 kB / 0.5867 GB, free: 10.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5314, allocations: 0 / 0.5867 GB, free: 10.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001004/0.5315, allocations: 67.14 kB / 0.5868 GB, free: 9.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5315, allocations: 7.656 kB / 0.5868 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5315, allocations: 0 / 0.5868 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.5315, allocations: 9.625 kB / 0.5868 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.5316, allocations: 14.62 kB / 0.5868 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5316, allocations: 2.719 kB / 0.5868 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.5317, allocations: 13.91 kB / 0.5868 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.5317, allocations: 2.219 kB / 0.5868 GB, free: 9.961 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 (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.147e-05/0.5318, allocations: 116.3 kB / 0.587 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.5318, allocations: 6.156 kB / 0.587 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.5319, allocations: 60.72 kB / 0.587 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5319, allocations: 0 / 0.587 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.532, allocations: 3.938 kB / 0.587 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.532, allocations: 10.67 kB / 0.587 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.5321, allocations: 155.8 kB / 0.5872 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5321, allocations: 2.625 kB / 0.5872 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/0.5322, allocations: 5.688 kB / 0.5872 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5322, allocations: 0 / 0.5872 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.5322, allocations: 3.938 kB / 0.5872 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5322, allocations: 0 / 0.5872 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5322, allocations: 7.297 kB / 0.5872 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.913e-05/0.5323, allocations: 139.4 kB / 0.5873 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.5323, allocations: 81.02 kB / 0.5874 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.5324, allocations: 7.922 kB / 0.5874 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.534e-05/0.5324, allocations: 0 / 0.5874 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.5324, allocations: 1.812 kB / 0.5874 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.5325, allocations: 6.844 kB / 0.5874 GB, free: 9.348 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.789e-05/0.5325, allocations: 86.06 kB / 0.5875 GB, free: 9.266 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5325, allocations: 3.938 kB / 0.5875 GB, free: 9.262 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000382/0.5329, allocations: 95.52 kB / 0.5876 GB, free: 9.238 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 (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.0005615/0.5335, allocations: 249.5 kB / 0.5878 GB, free: 9.094 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.5336, allocations: 26.38 kB / 0.5879 GB, free: 9.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5336, allocations: 0 / 0.5879 GB, free: 9.086 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.5336, allocations: 12.64 kB / 0.5879 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.5339, allocations: 12.72 kB / 0.5879 GB, free: 9.074 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.5342, allocations: 129.6 kB / 0.588 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.5345, allocations: 0.6853 MB / 0.5887 GB, free: 8.254 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.906e-05/0.5345, allocations: 10.22 kB / 0.5887 GB, free: 8.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.5346, allocations: 12.25 kB / 0.5887 GB, free: 8.242 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5346, allocations: 0 / 0.5887 GB, free: 8.242 MB / 430.1 MB Notification: Performance of Templates: time 0.005762/0.5403, allocations: 2.674 MB / 0.5913 GB, free: 6.895 MB / 430.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches