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.002245/0.002245, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.001029, allocations: 87.53 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3038/0.3038, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.59e-05/1.598e-05, allocations: 0 / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3955, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.34/10.74, allocations: 3.575 GB / 4.041 GB, free: 7.969 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/10.74, allocations: 79.08 kB / 4.041 GB, free: 7.93 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.4982/11.24, allocations: 46.62 MB / 4.087 GB, free: 168.7 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.134e-06/11.24, allocations: 0 / 4.087 GB, free: 168.7 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 5.911e-06/11.24, allocations: 0 / 4.087 GB, free: 168.7 MB / 0.4952 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.0009631/11.24, allocations: 477.2 kB / 4.087 GB, free: 168.2 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/11.24, allocations: 9.531 kB / 4.087 GB, free: 168.2 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/11.24, allocations: 6.5 kB / 4.087 GB, free: 168.2 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.489e-05/11.24, allocations: 167.2 kB / 4.087 GB, free: 168 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/11.24, allocations: 3.688 kB / 4.087 GB, free: 168 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/11.24, allocations: 0 / 4.087 GB, free: 168 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001507/11.24, allocations: 62.16 kB / 4.087 GB, free: 168 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/11.24, allocations: 67.55 kB / 4.087 GB, free: 167.9 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/11.24, allocations: 0 / 4.087 GB, free: 167.9 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/11.24, allocations: 0 / 4.087 GB, free: 167.9 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/11.24, allocations: 1.906 kB / 4.087 GB, free: 167.9 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/11.24, allocations: 269.5 kB / 4.088 GB, free: 167.7 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 8.043e-05/11.24, allocations: 42.06 kB / 4.088 GB, free: 167.7 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/11.24, allocations: 8.859 kB / 4.088 GB, free: 167.6 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/11.24, allocations: 88.88 kB / 4.088 GB, free: 167.6 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/11.24, allocations: 38.34 kB / 4.088 GB, free: 167.5 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/11.24, allocations: 0 / 4.088 GB, free: 167.5 MB / 0.4952 GB Notification: Performance of matching and sorting (n=3): time 0.0004902/11.24, allocations: 80.12 kB / 4.088 GB, free: 167.5 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/11.24, allocations: 55.41 kB / 4.088 GB, free: 167.4 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/11.24, allocations: 99.86 kB / 4.088 GB, free: 167.3 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/11.24, allocations: 25.7 kB / 4.088 GB, free: 167.3 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/11.24, allocations: 166.2 kB / 4.088 GB, free: 167.1 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/11.24, allocations: 11.75 kB / 4.088 GB, free: 167.1 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/11.24, allocations: 0 / 4.088 GB, free: 167.1 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/11.24, allocations: 310.8 kB / 4.088 GB, free: 166.8 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/11.24, allocations: 11.72 kB / 4.088 GB, free: 166.8 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.999e-05/11.24, allocations: 38.97 kB / 4.089 GB, free: 166.8 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/11.24, allocations: 53.62 kB / 4.089 GB, free: 166.7 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/11.24, allocations: 3.938 kB / 4.089 GB, free: 166.7 MB / 0.4952 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004014/11.24, allocations: 100.2 kB / 4.089 GB, free: 166.7 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/11.24, allocations: 7.812 kB / 4.089 GB, free: 166.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/11.24, allocations: 0 / 4.089 GB, free: 166.7 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/11.24, allocations: 4.094 kB / 4.089 GB, free: 166.7 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/11.24, allocations: 9.062 kB / 4.089 GB, free: 166.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/11.24, allocations: 7.438 kB / 4.089 GB, free: 166.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/11.24, allocations: 11.88 kB / 4.089 GB, free: 166.7 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/11.24, allocations: 5.969 kB / 4.089 GB, free: 166.7 MB / 0.4952 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 () * 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 5.882e-05/11.24, allocations: 108.9 kB / 4.089 GB, free: 166.6 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/11.24, allocations: 0 / 4.089 GB, free: 166.6 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/11.24, allocations: 97.62 kB / 4.089 GB, free: 166.5 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/11.24, allocations: 3.938 kB / 4.089 GB, free: 166.5 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/11.24, allocations: 0 / 4.089 GB, free: 166.5 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/11.24, allocations: 3.344 kB / 4.089 GB, free: 166.5 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/11.24, allocations: 133.4 kB / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/11.24, allocations: 0 / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/11.24, allocations: 5.906 kB / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/11.24, allocations: 3.953 kB / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/11.24, allocations: 7.781 kB / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/11.24, allocations: 7.469 kB / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/11.24, allocations: 0 / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/11.24, allocations: 174.8 kB / 4.089 GB, free: 166.2 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/11.24, allocations: 80.53 kB / 4.089 GB, free: 166.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/11.24, allocations: 7.516 kB / 4.089 GB, free: 166.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/11.24, allocations: 0 / 4.089 GB, free: 166.1 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/11.24, allocations: 0 / 4.089 GB, free: 166.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/11.24, allocations: 2.938 kB / 4.089 GB, free: 166.1 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 3.276e-05/11.24, allocations: 89.31 kB / 4.089 GB, free: 166 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.11e-07/11.24, allocations: 0 / 4.089 GB, free: 166 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0007232/11.24, allocations: 130.2 kB / 4.09 GB, free: 166 MB / 0.4952 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 () * 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.001389/11.25, allocations: 0.7379 MB / 4.09 GB, free: 165.7 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0001267/11.25, allocations: 23.52 kB / 4.09 GB, free: 165.7 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/11.25, allocations: 3.938 kB / 4.09 GB, free: 165.7 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 1.902e-05/11.25, allocations: 7.906 kB / 4.09 GB, free: 165.7 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/11.25, allocations: 3.812 kB / 4.09 GB, free: 165.7 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/11.25, allocations: 93.09 kB / 4.09 GB, free: 165.6 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/11.25, allocations: 0.6846 MB / 4.091 GB, free: 164.9 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.526e-05/11.25, allocations: 15.25 kB / 4.091 GB, free: 164.9 MB / 0.4952 GB Notification: Performance of SimCode: time 6.61e-07/11.25, allocations: 0 / 4.091 GB, free: 164.9 MB / 0.4952 GB Notification: Performance of Templates: time 0.01066/11.26, allocations: 5.034 MB / 4.096 GB, free: 160.9 MB / 0.4952 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