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.001494/0.001494, allocations: 180.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001066/0.001065, allocations: 90.7 kB / 267.5 MB, free: 14.05 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.2746/0.2746, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.72e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.259/1.375, allocations: 429.6 MB / 0.8923 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/1.376, allocations: 98.34 kB / 0.8924 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7753/2.151, allocations: 133.5 MB / 1.023 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/2.151, allocations: 4 kB / 1.023 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.603e-05/2.151, allocations: 28.38 kB / 1.023 GB, free: 100.4 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.002282/2.153, allocations: 0.8922 MB / 1.024 GB, free: 99.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/2.153, allocations: 8.031 kB / 1.024 GB, free: 99.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004622/2.154, allocations: 87.83 kB / 1.024 GB, free: 99.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/2.155, allocations: 0.5443 MB / 1.024 GB, free: 98.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/2.155, allocations: 104.4 kB / 1.024 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/2.155, allocations: 51.94 kB / 1.025 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/2.157, allocations: 0.8015 MB / 1.025 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/2.157, allocations: 0 / 1.025 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/2.157, allocations: 24 kB / 1.025 GB, free: 97.72 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-05/2.157, allocations: 40.92 kB / 1.025 GB, free: 97.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/2.159, allocations: 0.6207 MB / 1.026 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005672/2.164, allocations: 3.671 MB / 1.03 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009981/2.165, allocations: 400.1 kB / 1.03 GB, free: 92.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/2.166, allocations: 197.5 kB / 1.03 GB, free: 92.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005842/2.166, allocations: 0.7327 MB / 1.031 GB, free: 91.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/2.167, allocations: 46.89 kB / 1.031 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.106e-06/2.167, allocations: 0 / 1.031 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.003949/2.17, allocations: 1.356 MB / 1.032 GB, free: 90.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/2.171, allocations: 144.4 kB / 1.032 GB, free: 90.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008181/2.171, allocations: 493 kB / 1.033 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/2.171, allocations: 33.7 kB / 1.033 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/2.172, allocations: 397.4 kB / 1.033 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/2.172, allocations: 153.8 kB / 1.033 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/2.172, allocations: 16 kB / 1.033 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/2.172, allocations: 346.7 kB / 1.034 GB, free: 88.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/2.173, allocations: 205.5 kB / 1.034 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006281/2.173, allocations: 0.4946 MB / 1.034 GB, free: 87.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006298/2.174, allocations: 301.4 kB / 1.035 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/2.174, allocations: 4 kB / 1.035 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002116/2.176, allocations: 0.8404 MB / 1.036 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/2.176, allocations: 12.06 kB / 1.036 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/2.176, allocations: 8 kB / 1.036 GB, free: 86.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002058/2.178, allocations: 275.6 kB / 1.036 GB, free: 86.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/2.179, allocations: 131.7 kB / 1.036 GB, free: 86.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/2.18, allocations: 0.8723 MB / 1.037 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000925/2.181, allocations: 47.97 kB / 1.037 GB, free: 85.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/2.181, allocations: 36 kB / 1.037 GB, free: 85.22 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 () * 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.0002127/2.181, allocations: 160.7 kB / 1.037 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/2.181, allocations: 71.2 kB / 1.037 GB, free: 84.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/2.183, allocations: 0.7447 MB / 1.038 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/2.183, allocations: 11.98 kB / 1.038 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/2.183, allocations: 4 kB / 1.038 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/2.183, allocations: 0 / 1.038 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/2.186, allocations: 1.391 MB / 1.039 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/2.186, allocations: 4 kB / 1.039 GB, free: 82.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/2.188, allocations: 207.9 kB / 1.039 GB, free: 82.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/2.188, allocations: 28.8 kB / 1.039 GB, free: 82.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/2.188, allocations: 11.98 kB / 1.039 GB, free: 82.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/2.19, allocations: 2.684 MB / 1.042 GB, free: 79.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.19, allocations: 3.938 kB / 1.042 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/2.192, allocations: 1.045 MB / 1.043 GB, free: 78.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/2.192, allocations: 208.3 kB / 1.043 GB, free: 78.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/2.192, allocations: 19.98 kB / 1.043 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007829/2.193, allocations: 27.92 kB / 1.043 GB, free: 78.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/2.193, allocations: 31.95 kB / 1.043 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/2.193, allocations: 23.98 kB / 1.043 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006461/2.194, allocations: 403.2 kB / 1.044 GB, free: 77.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.5e-07/2.194, allocations: 0 / 1.044 GB, free: 77.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00116/2.195, allocations: 251.9 kB / 1.044 GB, free: 77.38 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 () * 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.0007991/2.196, allocations: 367.4 kB / 1.044 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001649/2.198, allocations: 0.5829 MB / 1.045 GB, free: 76.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/2.198, allocations: 0.5625 kB / 1.045 GB, free: 76.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/2.199, allocations: 426.4 kB / 1.045 GB, free: 76.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/2.202, allocations: 319.5 kB / 1.046 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/2.204, allocations: 1.035 MB / 1.047 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/2.204, allocations: 0.9505 MB / 1.048 GB, free: 73.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/2.205, allocations: 71.34 kB / 1.048 GB, free: 73.56 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/2.205, allocations: 3.938 kB / 1.048 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.02723/2.232, allocations: 15.64 MB / 1.063 GB, free: 57.92 MB / 0.5105 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