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.000894/0.000894, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.283/1.283, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0006964/0.0006963, allocations: 87.41 kB / 271.9 MB, free: 8.246 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.2986/0.2986, allocations: 43.57 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003789, allocations: 8 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.369/7.477, allocations: 3.576 GB / 4.056 GB, free: 95.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/7.478, allocations: 75.95 kB / 4.056 GB, free: 95.65 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09508/7.573, allocations: 47.44 MB / 4.102 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.004e-06/7.573, allocations: 0 / 4.102 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.931e-06/7.573, allocations: 0 / 4.102 GB, free: 47.77 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.0007644/7.574, allocations: 494 kB / 4.103 GB, free: 47.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/7.574, allocations: 8.031 kB / 4.103 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/7.574, allocations: 4.938 kB / 4.103 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.754e-05/7.574, allocations: 168.3 kB / 4.103 GB, free: 47.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/7.574, allocations: 384 / 4.103 GB, free: 47.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/7.574, allocations: 8.375 kB / 4.103 GB, free: 47.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/7.574, allocations: 74.17 kB / 4.103 GB, free: 46.94 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/7.574, allocations: 192 / 4.103 GB, free: 46.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/7.574, allocations: 3.938 kB / 4.103 GB, free: 46.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/7.574, allocations: 4 kB / 4.103 GB, free: 46.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/7.574, allocations: 51.97 kB / 4.103 GB, free: 46.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/7.574, allocations: 296.7 kB / 4.103 GB, free: 46.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.459e-05/7.574, allocations: 38.56 kB / 4.103 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/7.575, allocations: 12.92 kB / 4.103 GB, free: 46.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/7.575, allocations: 89.09 kB / 4.103 GB, free: 46.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/7.575, allocations: 30.56 kB / 4.103 GB, free: 46.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/7.575, allocations: 0 / 4.103 GB, free: 46.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001501/7.575, allocations: 53.72 kB / 4.104 GB, free: 46.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/7.575, allocations: 51.41 kB / 4.104 GB, free: 46.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.616e-05/7.575, allocations: 110 kB / 4.104 GB, free: 46.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/7.575, allocations: 25.7 kB / 4.104 GB, free: 46.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/7.575, allocations: 99.89 kB / 4.104 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-06/7.575, allocations: 7.891 kB / 4.104 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/7.575, allocations: 0 / 4.104 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.229e-05/7.575, allocations: 318.8 kB / 4.104 GB, free: 45.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/7.575, allocations: 8 kB / 4.104 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/7.575, allocations: 35.42 kB / 4.104 GB, free: 45.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.364e-05/7.575, allocations: 39.38 kB / 4.104 GB, free: 45.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/7.575, allocations: 0 / 4.104 GB, free: 45.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.883e-05/7.575, allocations: 69.61 kB / 4.104 GB, free: 45.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/7.575, allocations: 4.094 kB / 4.104 GB, free: 45.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/7.575, allocations: 15.88 kB / 4.104 GB, free: 45.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/7.575, allocations: 0 / 4.104 GB, free: 45.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.28e-05/7.575, allocations: 8.125 kB / 4.104 GB, free: 45.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/7.575, allocations: 4 kB / 4.104 GB, free: 45.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/7.575, allocations: 15.83 kB / 4.104 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/7.575, allocations: 8 kB / 4.104 GB, free: 45.4 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 4.826e-05/7.575, allocations: 113.8 kB / 4.104 GB, free: 45.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/7.576, allocations: 0 / 4.104 GB, free: 45.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/7.576, allocations: 65.06 kB / 4.104 GB, free: 45.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/7.576, allocations: 7.984 kB / 4.105 GB, free: 45.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/7.576, allocations: 0 / 4.105 GB, free: 45.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/7.576, allocations: 0 / 4.105 GB, free: 45.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/7.576, allocations: 161.6 kB / 4.105 GB, free: 45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/7.576, allocations: 0 / 4.105 GB, free: 45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/7.576, allocations: 4 kB / 4.105 GB, free: 44.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/7.576, allocations: 0 / 4.105 GB, free: 44.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/7.576, allocations: 0 / 4.105 GB, free: 44.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/7.576, allocations: 4 kB / 4.105 GB, free: 44.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/7.576, allocations: 4 kB / 4.105 GB, free: 44.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.06e-05/7.576, allocations: 147.4 kB / 4.105 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/7.576, allocations: 85 kB / 4.105 GB, free: 44.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/7.576, allocations: 0 / 4.105 GB, free: 44.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/7.576, allocations: 0 / 4.105 GB, free: 44.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/7.576, allocations: 4 kB / 4.105 GB, free: 44.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/7.576, allocations: 4 kB / 4.105 GB, free: 44.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.039e-05/7.576, allocations: 83.28 kB / 4.105 GB, free: 44.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.576, allocations: 0 / 4.105 GB, free: 44.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005412/7.577, allocations: 131.8 kB / 4.105 GB, free: 44.5 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.0009557/7.578, allocations: 0.6588 MB / 4.106 GB, free: 43.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.335e-05/7.578, allocations: 27.92 kB / 4.106 GB, free: 43.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/7.578, allocations: 0 / 4.106 GB, free: 43.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/7.578, allocations: 8 kB / 4.106 GB, free: 43.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/7.578, allocations: 9.031 kB / 4.106 GB, free: 43.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/7.578, allocations: 196.1 kB / 4.106 GB, free: 43.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/7.578, allocations: 0.6809 MB / 4.107 GB, free: 42.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/7.578, allocations: 11.44 kB / 4.107 GB, free: 42.86 MB / 0.4948 GB Notification: Performance of SimCode: time 3.4e-07/7.578, allocations: 0 / 4.107 GB, free: 42.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.006014/7.584, allocations: 4.757 MB / 4.111 GB, free: 38.1 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