Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002111/0.002111, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 95.39 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4943/0.4943, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006182/0.0006183, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1215, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.47/10.59, allocations: 3.576 GB / 4.055 GB, free: 36.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/10.59, allocations: 84.52 kB / 4.055 GB, free: 36.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4973/11.08, allocations: 47.43 MB / 4.101 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/11.08, allocations: 0 / 4.101 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.51e-06/11.08, allocations: 0 / 4.101 GB, free: 137.8 MB / 0.4948 GB 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.00105/11.09, allocations: 491.2 kB / 4.101 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/11.09, allocations: 11.19 kB / 4.101 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/11.09, allocations: 3.781 kB / 4.101 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.959e-05/11.09, allocations: 165.1 kB / 4.102 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/11.09, allocations: 3.625 kB / 4.102 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/11.09, allocations: 3.938 kB / 4.102 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/11.09, allocations: 73.81 kB / 4.102 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/11.09, allocations: 3.938 kB / 4.102 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/11.09, allocations: 0 / 4.102 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/11.09, allocations: 10.75 kB / 4.102 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/11.09, allocations: 47.02 kB / 4.102 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/11.09, allocations: 312.2 kB / 4.102 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.75e-05/11.09, allocations: 35 kB / 4.102 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/11.09, allocations: 86.75 kB / 4.102 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/11.09, allocations: 35.62 kB / 4.102 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/11.09, allocations: 0 / 4.102 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001785/11.09, allocations: 51.97 kB / 4.102 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/11.09, allocations: 54.83 kB / 4.102 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.809e-05/11.09, allocations: 96.38 kB / 4.102 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/11.09, allocations: 25.7 kB / 4.102 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/11.09, allocations: 172.9 kB / 4.103 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/11.09, allocations: 5.875 kB / 4.103 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/11.09, allocations: 0 / 4.103 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.794e-05/11.09, allocations: 317.2 kB / 4.103 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/11.09, allocations: 6.312 kB / 4.103 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-05/11.09, allocations: 34.53 kB / 4.103 GB, free: 136 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/11.09, allocations: 13.84 kB / 4.103 GB, free: 136 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/11.09, allocations: 1.031 kB / 4.103 GB, free: 136 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001328/11.09, allocations: 75.47 kB / 4.103 GB, free: 136 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/11.09, allocations: 8.312 kB / 4.103 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/11.09, allocations: 0 / 4.103 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/11.09, allocations: 2.938 kB / 4.103 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/11.09, allocations: 11.94 kB / 4.103 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/11.09, allocations: 6.141 kB / 4.103 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/11.09, allocations: 6.625 kB / 4.103 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/11.09, allocations: 3.188 kB / 4.103 GB, free: 136 MB / 0.4948 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/11.09, allocations: 118.1 kB / 4.103 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/11.09, allocations: 9.172 kB / 4.103 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/11.09, allocations: 56.41 kB / 4.103 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/11.09, allocations: 0 / 4.103 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/11.09, allocations: 2.469 kB / 4.103 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/11.09, allocations: 6.281 kB / 4.103 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/11.09, allocations: 163 kB / 4.103 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/11.09, allocations: 3.938 kB / 4.103 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/11.09, allocations: 5.375 kB / 4.103 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/11.09, allocations: 0 / 4.103 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/11.09, allocations: 9.109 kB / 4.103 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/11.09, allocations: 0 / 4.103 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/11.09, allocations: 0 / 4.103 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/11.09, allocations: 142.4 kB / 4.103 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/11.09, allocations: 84.3 kB / 4.104 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/11.09, allocations: 1.156 kB / 4.104 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/11.09, allocations: 3.953 kB / 4.104 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/11.09, allocations: 5.516 kB / 4.104 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/11.09, allocations: 2.688 kB / 4.104 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.132e-05/11.09, allocations: 80 kB / 4.104 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.7e-07/11.09, allocations: 0 / 4.104 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008351/11.09, allocations: 144.4 kB / 4.104 GB, free: 135.3 MB / 0.4948 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001356/11.09, allocations: 0.6391 MB / 4.104 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001388/11.09, allocations: 29.23 kB / 4.104 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/11.09, allocations: 0 / 4.104 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/11.09, allocations: 12.66 kB / 4.104 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/11.09, allocations: 5.969 kB / 4.104 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/11.09, allocations: 185.5 kB / 4.105 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/11.09, allocations: 0.688 MB / 4.105 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/11.09, allocations: 11.59 kB / 4.105 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.843e-06/11.09, allocations: 3.938 kB / 4.105 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.01097/11.1, allocations: 5.086 MB / 4.11 GB, free: 133.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches