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.001481/0.001481, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.001474/0.001474, allocations: 195 kB / 17.98 MB, free: 5.027 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 / 223.8 MB, free: 12.27 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.2186/0.2186, allocations: 43.5 MB / 314.7 MB, free: 500 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.001622/0.001622, allocations: 66.55 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1023, allocations: 57.79 MB / 442 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3955/0.4979, allocations: 152.2 MB / 0.5802 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.4992, allocations: 1.213 MB / 0.5814 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.4992, allocations: 0 / 0.5814 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.4995, allocations: 40.75 kB / 0.5815 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.5014, allocations: 0.8765 MB / 0.5823 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.959e-06/0.5015, allocations: 0 / 0.5823 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.934e-05/0.5016, allocations: 45.97 kB / 0.5824 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.5016, allocations: 2.594 kB / 0.5824 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.5017, allocations: 21.89 kB / 0.5824 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.5017, allocations: 19.2 kB / 0.5824 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.5017, allocations: 2.625 kB / 0.5824 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.504, allocations: 1.623 MB / 0.584 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.504, allocations: 12.88 kB / 0.584 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.5041, allocations: 14.67 kB / 0.584 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.5051, allocations: 0.7768 MB / 0.5848 GB, free: 12.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5051, allocations: 0 / 0.5848 GB, free: 12.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5051, allocations: 0 / 0.5848 GB, free: 12.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.5052, allocations: 7 kB / 0.5848 GB, free: 12.51 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.0006046/0.5058, allocations: 463.4 kB / 0.5852 GB, free: 12.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.5058, allocations: 13.83 kB / 0.5852 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.5058, allocations: 1.625 kB / 0.5852 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.506, allocations: 167.4 kB / 0.5854 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.506, allocations: 3.938 kB / 0.5854 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.506, allocations: 6.469 kB / 0.5854 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.5061, allocations: 78.92 kB / 0.5855 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.5062, allocations: 0 / 0.5855 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.5062, allocations: 0 / 0.5855 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.5062, allocations: 16.23 kB / 0.5855 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.198e-05/0.5063, allocations: 49.84 kB / 0.5855 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.5067, allocations: 292.7 kB / 0.5858 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.5068, allocations: 34.12 kB / 0.5859 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.5068, allocations: 11.48 kB / 0.5859 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.5069, allocations: 88.78 kB / 0.586 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.5069, allocations: 36.41 kB / 0.586 GB, free: 11.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5069, allocations: 0 / 0.586 GB, free: 11.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001463/0.5071, allocations: 61.34 kB / 0.586 GB, free: 11.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.5071, allocations: 51.41 kB / 0.5861 GB, free: 11.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.374e-05/0.5072, allocations: 104.5 kB / 0.5862 GB, free: 11.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.5072, allocations: 28.42 kB / 0.5862 GB, free: 11.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.5073, allocations: 91.89 kB / 0.5863 GB, free: 11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.5073, allocations: 9.031 kB / 0.5863 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.5073, allocations: 27.05 kB / 0.5863 GB, free: 10.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.5074, allocations: 310.8 kB / 0.5866 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.5074, allocations: 8.125 kB / 0.5866 GB, free: 10.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.5075, allocations: 36.05 kB / 0.5867 GB, free: 10.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.5076, allocations: 46.86 kB / 0.5867 GB, free: 10.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5076, allocations: 0 / 0.5867 GB, free: 10.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.021e-05/0.5077, allocations: 67.5 kB / 0.5868 GB, free: 10.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.5077, allocations: 8.625 kB / 0.5868 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5077, allocations: 0 / 0.5868 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5077, allocations: 6.656 kB / 0.5868 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.5078, allocations: 18.33 kB / 0.5868 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.5078, allocations: 2.594 kB / 0.5868 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.021e-05/0.5079, allocations: 14.84 kB / 0.5868 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.5079, allocations: 2.375 kB / 0.5868 GB, free: 10.51 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 6.752e-05/0.508, allocations: 115.6 kB / 0.587 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.508, allocations: 3.844 kB / 0.587 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.5081, allocations: 64.95 kB / 0.587 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.5081, allocations: 0 / 0.587 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.5081, allocations: 4 kB / 0.587 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.5081, allocations: 3.156 kB / 0.587 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.5083, allocations: 156.1 kB / 0.5872 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5083, allocations: 0 / 0.5872 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.5083, allocations: 9.312 kB / 0.5872 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5083, allocations: 0 / 0.5872 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.5084, allocations: 3.938 kB / 0.5872 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5084, allocations: 3.984 kB / 0.5872 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5084, allocations: 2.438 kB / 0.5872 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.5085, allocations: 152.2 kB / 0.5873 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.5085, allocations: 81.02 kB / 0.5874 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.5085, allocations: 3.938 kB / 0.5874 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.583e-05/0.5086, allocations: 5.125 kB / 0.5874 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.5086, allocations: 0 / 0.5874 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.5086, allocations: 3.312 kB / 0.5874 GB, free: 9.895 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.485e-05/0.5086, allocations: 82.05 kB / 0.5875 GB, free: 9.816 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5087, allocations: 0 / 0.5875 GB, free: 9.816 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.509, allocations: 95.11 kB / 0.5876 GB, free: 9.793 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.0005097/0.5095, allocations: 255.8 kB / 0.5878 GB, free: 9.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.889e-05/0.5097, allocations: 25.98 kB / 0.5879 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5097, allocations: 0 / 0.5879 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-05/0.5097, allocations: 8.594 kB / 0.5879 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.51, allocations: 2.406 kB / 0.5879 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.5103, allocations: 146.1 kB / 0.588 GB, free: 9.508 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.5105, allocations: 0.6774 MB / 0.5887 GB, free: 8.809 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.099e-05/0.5106, allocations: 14.73 kB / 0.5887 GB, free: 8.801 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.5106, allocations: 16.53 kB / 0.5887 GB, free: 8.789 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5106, allocations: 3.938 kB / 0.5887 GB, free: 8.785 MB / 430.1 MB Notification: Performance of Templates: time 0.00547/0.5161, allocations: 2.671 MB / 0.5913 GB, free: 7.441 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 cvode -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