Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00147/0.00147, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.945/1.945, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001111/0.00111, allocations: 92.36 kB / 270.9 MB, free: 8.367 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.5151/0.5151, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004696, allocations: 16 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1317, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.611/1.743, allocations: 429.7 MB / 0.8984 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003734/1.743, allocations: 97.86 kB / 0.8985 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4434/2.186, allocations: 134 MB / 1.029 GB, free: 17.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.026e-06/2.186, allocations: 0 / 1.029 GB, free: 17.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.32e-05/2.187, allocations: 24.12 kB / 1.029 GB, free: 17.17 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00331/2.19, allocations: 0.9791 MB / 1.03 GB, free: 16.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/2.19, allocations: 8.031 kB / 1.03 GB, free: 16.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005464/2.191, allocations: 94.48 kB / 1.03 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/2.192, allocations: 0.5366 MB / 1.031 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/2.192, allocations: 100.4 kB / 1.031 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/2.192, allocations: 55.94 kB / 1.031 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/2.194, allocations: 0.8057 MB / 1.032 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/2.194, allocations: 1.031 kB / 1.032 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/2.194, allocations: 31.97 kB / 1.032 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/2.194, allocations: 40.98 kB / 1.032 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/2.196, allocations: 0.6439 MB / 1.033 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005936/2.202, allocations: 3.654 MB / 1.036 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/2.203, allocations: 412.1 kB / 1.037 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/2.204, allocations: 0.7366 MB / 1.037 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/2.204, allocations: 42.89 kB / 1.037 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=40): time 3.326e-06/2.204, allocations: 0 / 1.037 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45): time 0.004947/2.209, allocations: 1.522 MB / 1.039 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/2.209, allocations: 136.5 kB / 1.039 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008661/2.21, allocations: 0.502 MB / 1.039 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.6e-05/2.21, allocations: 33.7 kB / 1.039 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/2.21, allocations: 389.5 kB / 1.04 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/2.21, allocations: 161.7 kB / 1.04 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/2.21, allocations: 16 kB / 1.04 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/2.21, allocations: 338.8 kB / 1.04 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005517/2.211, allocations: 217.8 kB / 1.04 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/2.212, allocations: 0.5045 MB / 1.041 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/2.212, allocations: 297.1 kB / 1.041 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/2.212, allocations: 7.984 kB / 1.041 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002365/2.215, allocations: 0.8557 MB / 1.042 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/2.215, allocations: 9.25 kB / 1.042 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/2.215, allocations: 15.95 kB / 1.042 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002324/2.217, allocations: 284.9 kB / 1.042 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/2.218, allocations: 123.8 kB / 1.043 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/2.219, allocations: 0.8791 MB / 1.043 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009647/2.22, allocations: 55.94 kB / 1.043 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/2.22, allocations: 32 kB / 1.043 GB, free: 1.832 MB / 0.4948 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.000522/2.221, allocations: 253.5 kB / 1.044 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/2.221, allocations: 67.25 kB / 1.044 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/2.223, allocations: 0.7606 MB / 1.045 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/2.223, allocations: 7.984 kB / 1.045 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/2.223, allocations: 0 / 1.045 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/2.223, allocations: 0 / 1.045 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3499/2.573, allocations: 1.389 MB / 1.046 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/2.573, allocations: 8.531 kB / 1.046 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/2.575, allocations: 200 kB / 1.046 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/2.575, allocations: 23.94 kB / 1.046 GB, free: 95.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/2.575, allocations: 17.59 kB / 1.046 GB, free: 95.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/2.577, allocations: 2.697 MB / 1.049 GB, free: 92.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/2.577, allocations: 7 kB / 1.049 GB, free: 92.81 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/2.58, allocations: 1.05 MB / 1.05 GB, free: 92.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/2.58, allocations: 209.3 kB / 1.05 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/2.58, allocations: 8.406 kB / 1.05 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000815/2.581, allocations: 33.62 kB / 1.05 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/2.581, allocations: 41.78 kB / 1.05 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/2.582, allocations: 25.14 kB / 1.05 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007846/2.582, allocations: 405 kB / 1.05 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.41e-07/2.582, allocations: 0 / 1.05 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0013/2.584, allocations: 246.2 kB / 1.051 GB, free: 92.24 MB / 0.4948 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.0009501/2.585, allocations: 381.3 kB / 1.051 GB, free: 92.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002022/2.587, allocations: 0.5869 MB / 1.052 GB, free: 92.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/2.587, allocations: 1.344 kB / 1.052 GB, free: 92.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/2.588, allocations: 425 kB / 1.052 GB, free: 92.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/2.591, allocations: 325 kB / 1.052 GB, free: 92.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/2.594, allocations: 1.665 MB / 1.054 GB, free: 91.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/2.595, allocations: 0.9528 MB / 1.055 GB, free: 90.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/2.595, allocations: 69.59 kB / 1.055 GB, free: 90.62 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/2.595, allocations: 0 / 1.055 GB, free: 90.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.03086/2.626, allocations: 15.67 MB / 1.07 GB, free: 90.34 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches