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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002343/0.002343, allocations: 92.97 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003189/0.003189, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2047/0.2047, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.718e-05, allocations: 10.25 kB / 347 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3301/0.3302, allocations: 140.6 MB / 487.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006846/0.337, allocations: 5.732 MB / 493.3 MB, free: 8.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007203/0.3377, allocations: 33.78 kB / 493.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009097/0.3387, allocations: 316.1 kB / 493.6 MB, free: 8.617 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.3409, allocations: 0.9132 MB / 494.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.3433, allocations: 1.074 MB / 495.6 MB, free: 7.676 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.3448, allocations: 1.835 MB / 497.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004566/0.3453, allocations: 429.6 kB / 497.8 MB, free: 6.426 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.3464, allocations: 0.9868 MB / 498.8 MB, free: 5.898 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008771/0.3473, allocations: 0.6817 MB / 499.5 MB, free: 5.617 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.3474, allocations: 67.09 kB / 499.6 MB, free: 5.613 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009982/0.3484, allocations: 493.8 kB / 0.4883 GB, free: 5.449 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.3487, allocations: 296.5 kB / 0.4886 GB, free: 5.258 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.349, allocations: 288.5 kB / 0.4889 GB, free: 5.137 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.3504, allocations: 1.18 MB / 0.49 GB, free: 4.426 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3504, allocations: 4 kB / 0.49 GB, free: 4.422 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3504, allocations: 0 / 0.49 GB, free: 4.422 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3504, allocations: 0 / 0.49 GB, free: 4.422 MB / 362.7 MB 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.001783/0.3522, allocations: 1.143 MB / 0.4912 GB, free: 3.551 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3522, allocations: 8.406 kB / 0.4912 GB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.3526, allocations: 151.2 kB / 0.4913 GB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007669/0.3534, allocations: 0.5064 MB / 0.4918 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.3535, allocations: 153.6 kB / 0.492 GB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-05/0.3536, allocations: 56.72 kB / 0.492 GB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3546, allocations: 1.107 MB / 0.4931 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.3546, allocations: 384 / 0.4931 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-05/0.3547, allocations: 28.41 kB / 0.4931 GB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.315e-05/0.3547, allocations: 41.27 kB / 0.4932 GB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.3554, allocations: 435.4 kB / 0.4936 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/0.3598, allocations: 3.817 MB / 0.4973 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008064/0.3606, allocations: 369.9 kB / 0.4977 GB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.3609, allocations: 156.3 kB / 0.4978 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.3611, allocations: 62.88 kB / 0.4979 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.3612, allocations: 40.06 kB / 0.4979 GB, free: 14.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/0.3612, allocations: 4 kB / 0.4979 GB, free: 14.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.003118/0.3643, allocations: 1.268 MB / 0.4991 GB, free: 13.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.3644, allocations: 139 kB / 0.4993 GB, free: 13.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000731/0.3652, allocations: 0.6487 MB / 0.4999 GB, free: 12.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.3652, allocations: 35.23 kB / 0.4999 GB, free: 12.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.3656, allocations: 437.5 kB / 0.5004 GB, free: 12.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.3658, allocations: 185.8 kB / 0.5005 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.366, allocations: 172.2 kB / 0.5007 GB, free: 11.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003709/0.3664, allocations: 0.5704 MB / 0.5013 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.3668, allocations: 157.9 kB / 0.5014 GB, free: 11.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000833/0.3676, allocations: 0.6847 MB / 0.5021 GB, free: 10.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.369, allocations: 0.7873 MB / 0.5028 GB, free: 9.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.369, allocations: 8 kB / 0.5029 GB, free: 9.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001714/0.3707, allocations: 0.8172 MB / 0.5037 GB, free: 8.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3707, allocations: 12 kB / 0.5037 GB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.3707, allocations: 8 kB / 0.5037 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.3722, allocations: 273.7 kB / 0.5039 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.3726, allocations: 127.7 kB / 0.5041 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.3738, allocations: 1.093 MB / 0.5051 GB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.3744, allocations: 32.02 kB / 0.5051 GB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/0.3744, allocations: 36 kB / 0.5052 GB, free: 6.887 MB / 378.7 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004191/0.3749, allocations: 248.3 kB / 0.5054 GB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.375, allocations: 83.52 kB / 0.5055 GB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.3764, allocations: 0.6633 MB / 0.5061 GB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.3764, allocations: 4 kB / 0.5062 GB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3764, allocations: 4 kB / 0.5062 GB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3764, allocations: 0 / 0.5062 GB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.3787, allocations: 1.239 MB / 0.5074 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3787, allocations: 3.312 kB / 0.5074 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.3797, allocations: 203.9 kB / 0.5076 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/0.3798, allocations: 27.67 kB / 0.5076 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.3798, allocations: 15.94 kB / 0.5076 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.3832, allocations: 3.654 MB / 0.5112 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3832, allocations: 4 kB / 0.5112 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.3848, allocations: 0.8774 MB / 0.512 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.3851, allocations: 119.5 kB / 0.5121 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.3852, allocations: 15.94 kB / 0.5122 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.3856, allocations: 16 kB / 0.5122 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3857, allocations: 41.23 kB / 0.5122 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/0.3857, allocations: 19.98 kB / 0.5122 GB, free: 15.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005219/0.3862, allocations: 398.8 kB / 0.5126 GB, free: 14.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3862, allocations: 0 / 0.5126 GB, free: 14.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008571/0.3871, allocations: 219.8 kB / 0.5128 GB, free: 14.69 MB / 394.7 MB 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006699/0.3878, allocations: 278.7 kB / 0.5131 GB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.3891, allocations: 0.5331 MB / 0.5136 GB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3891, allocations: 0 / 0.5136 GB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.3902, allocations: 484.3 kB / 0.5141 GB, free: 13.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.3917, allocations: 328.5 kB / 0.5144 GB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.394, allocations: 1.257 MB / 0.5156 GB, free: 11.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.3944, allocations: 329.1 kB / 0.5159 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005732/0.395, allocations: 184 kB / 0.5161 GB, free: 11.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3952, allocations: 68.42 kB / 0.5162 GB, free: 11.19 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3952, allocations: 0 / 0.5162 GB, free: 11.19 MB / 394.7 MB Notification: Performance of Templates: time 0.02765/0.4228, allocations: 14.27 MB / 0.5301 GB, free: 13.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.790657568955794]