Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001588/0.001588, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.784/1.784, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008836/0.0008835, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1929/0.1929, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1186, allocations: 58.85 MB / 490.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.143, allocations: 429.7 MB / 0.8984 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/1.144, allocations: 101.8 kB / 0.8985 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.595/1.739, allocations: 134 MB / 1.029 GB, free: 94.22 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.914e-06/1.739, allocations: 0 / 1.029 GB, free: 94.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.495e-05/1.739, allocations: 16 kB / 1.029 GB, free: 94.21 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002915/1.742, allocations: 0.9742 MB / 1.03 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.742, allocations: 15.97 kB / 1.03 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006263/1.743, allocations: 91.73 kB / 1.03 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/1.744, allocations: 0.5443 MB / 1.031 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/1.744, allocations: 104.4 kB / 1.031 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/1.744, allocations: 44 kB / 1.031 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/1.746, allocations: 0.814 MB / 1.032 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/1.746, allocations: 3.938 kB / 1.032 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/1.746, allocations: 27.98 kB / 1.032 GB, free: 91.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.275e-05/1.746, allocations: 36.98 kB / 1.032 GB, free: 91.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/1.747, allocations: 0.6439 MB / 1.033 GB, free: 90.74 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/1.751, allocations: 3.671 MB / 1.036 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000696/1.752, allocations: 404.1 kB / 1.037 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005107/1.753, allocations: 0.7366 MB / 1.037 GB, free: 85.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/1.753, allocations: 38.89 kB / 1.037 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.765e-06/1.753, allocations: 0 / 1.037 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.003445/1.756, allocations: 1.522 MB / 1.039 GB, free: 83.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/1.756, allocations: 144.5 kB / 1.039 GB, free: 83.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/1.757, allocations: 0.4943 MB / 1.039 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/1.757, allocations: 41.64 kB / 1.039 GB, free: 83.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/1.757, allocations: 351 kB / 1.04 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/1.757, allocations: 165.7 kB / 1.04 GB, free: 82.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/1.757, allocations: 16 kB / 1.04 GB, free: 82.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.757, allocations: 378.7 kB / 1.04 GB, free: 82.28 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/1.758, allocations: 205.9 kB / 1.041 GB, free: 82.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/1.758, allocations: 0.5045 MB / 1.041 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/1.759, allocations: 307.8 kB / 1.041 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.759, allocations: 4 kB / 1.041 GB, free: 81.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001415/1.76, allocations: 0.8946 MB / 1.042 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.76, allocations: 8 kB / 1.042 GB, free: 80.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.76, allocations: 12 kB / 1.042 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/1.762, allocations: 291.7 kB / 1.042 GB, free: 79.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/1.762, allocations: 119.8 kB / 1.043 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008186/1.763, allocations: 0.8839 MB / 1.043 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/1.763, allocations: 43.97 kB / 1.043 GB, free: 78.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/1.763, allocations: 32 kB / 1.044 GB, free: 78.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003886/1.764, allocations: 253.5 kB / 1.044 GB, free: 78.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/1.764, allocations: 71.11 kB / 1.044 GB, free: 78.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/1.765, allocations: 0.7567 MB / 1.045 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/1.765, allocations: 8 kB / 1.045 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.765, allocations: 3.984 kB / 1.045 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/1.765, allocations: 4 kB / 1.045 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/1.767, allocations: 1.384 MB / 1.046 GB, free: 76.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.767, allocations: 4 kB / 1.046 GB, free: 76.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000998/1.768, allocations: 207.9 kB / 1.046 GB, free: 76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.445e-05/1.768, allocations: 24.84 kB / 1.046 GB, free: 75.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/1.768, allocations: 15.95 kB / 1.046 GB, free: 75.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/1.77, allocations: 2.703 MB / 1.049 GB, free: 72.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.77, allocations: 4.031 kB / 1.049 GB, free: 72.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/1.771, allocations: 1.068 MB / 1.05 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/1.771, allocations: 200.3 kB / 1.05 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/1.772, allocations: 12 kB / 1.05 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/1.772, allocations: 39.81 kB / 1.05 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/1.772, allocations: 39.95 kB / 1.05 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/1.772, allocations: 23.98 kB / 1.05 GB, free: 71.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004439/1.773, allocations: 407 kB / 1.051 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/1.773, allocations: 0 / 1.051 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001055/1.774, allocations: 243.9 kB / 1.051 GB, free: 70.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008236/1.775, allocations: 361.8 kB / 1.051 GB, free: 70.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001209/1.776, allocations: 0.5798 MB / 1.052 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.776, allocations: 4 kB / 1.052 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000913/1.777, allocations: 438.3 kB / 1.052 GB, free: 69.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.778, allocations: 319.5 kB / 1.052 GB, free: 69.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/1.781, allocations: 1.62 MB / 1.054 GB, free: 67.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/1.781, allocations: 0.9543 MB / 1.055 GB, free: 66.51 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007861/1.782, allocations: 201.7 kB / 1.055 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/1.782, allocations: 71.34 kB / 1.055 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/1.782, allocations: 0 / 1.055 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of Templates: time 0.02584/1.808, allocations: 14.93 MB / 1.07 GB, free: 51.34 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches