Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.00105/0.00105, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.0009772/0.0009772, allocations: 165 kB / 23.79 MB, free: 0.7812 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 0.9632/0.9632, allocations: 158.6 MB / 185.6 MB, free: 2.539 MB / 170.7 MB " [Timeout remaining time 179] 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.1392/0.1392, allocations: 32.37 MB / 270.4 MB, free: 14.8 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.515e-05/3.739e-05, allocations: 8.219 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3232/0.3232, allocations: 147 MB / 494.7 MB, free: 9.242 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006391/0.3296, allocations: 5.026 MB / 499.7 MB, free: 7.039 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007555/0.3304, allocations: 31.31 kB / 499.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.3311, allocations: 208 kB / 500 MB, free: 6.875 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.3339, allocations: 1.141 MB / 0.4894 GB, free: 6.016 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.3356, allocations: 0.84 MB / 0.4902 GB, free: 5.387 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.3378, allocations: 1.908 MB / 0.4921 GB, free: 4.273 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000796/0.3386, allocations: 423.4 kB / 0.4925 GB, free: 3.969 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.3403, allocations: 1.044 MB / 0.4935 GB, free: 3.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009701/0.3413, allocations: 0.6396 MB / 0.4941 GB, free: 3.004 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.3415, allocations: 63.09 kB / 0.4942 GB, free: 3.004 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009944/0.3425, allocations: 479.1 kB / 0.4946 GB, free: 2.801 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.3427, allocations: 289.3 kB / 0.4949 GB, free: 2.602 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.343, allocations: 288.3 kB / 0.4952 GB, free: 2.465 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.3444, allocations: 1.023 MB / 0.4962 GB, free: 1.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3444, allocations: 0 / 0.4962 GB, free: 1.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3444, allocations: 0 / 0.4962 GB, free: 1.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.3444, allocations: 0 / 0.4962 GB, free: 1.848 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.001641/0.346, allocations: 1.143 MB / 0.4973 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3461, allocations: 9.094 kB / 0.4973 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006198/0.3467, allocations: 220.5 kB / 0.4975 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006399/0.3473, allocations: 497.2 kB / 0.498 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.3474, allocations: 158.7 kB / 0.4981 GB, free: 352 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.544e-05/0.3475, allocations: 59.98 kB / 0.4982 GB, free: 332 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/0.3484, allocations: 1.034 MB / 0.4992 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.3484, allocations: 3.938 kB / 0.4992 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.3485, allocations: 28.7 kB / 0.4992 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.3485, allocations: 37.48 kB / 0.4993 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.349, allocations: 303.3 kB / 0.4996 GB, free: 15.17 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.352, allocations: 3.888 MB / 0.5033 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.3524, allocations: 212.7 kB / 0.5036 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.3525, allocations: 84.2 kB / 0.5036 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/0.3528, allocations: 130.1 kB / 0.5038 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3528, allocations: 45.61 kB / 0.5038 GB, free: 11.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/0.3528, allocations: 4 kB / 0.5038 GB, free: 11.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002967/0.3558, allocations: 1.173 MB / 0.5049 GB, free: 9.961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.3558, allocations: 132.5 kB / 0.5051 GB, free: 9.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.3562, allocations: 0.5413 MB / 0.5056 GB, free: 9.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.3563, allocations: 41.7 kB / 0.5056 GB, free: 9.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.3565, allocations: 435 kB / 0.5061 GB, free: 8.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.89e-05/0.3566, allocations: 154.7 kB / 0.5062 GB, free: 8.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.3567, allocations: 156.2 kB / 0.5064 GB, free: 8.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3569, allocations: 0.543 MB / 0.5069 GB, free: 7.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.3571, allocations: 89.94 kB / 0.507 GB, free: 7.809 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.3574, allocations: 0.6113 MB / 0.5076 GB, free: 6.977 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/0.358, allocations: 0.6701 MB / 0.5082 GB, free: 6.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.358, allocations: 4 kB / 0.5082 GB, free: 6.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008112/0.3588, allocations: 0.6408 MB / 0.5089 GB, free: 5.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3588, allocations: 11.98 kB / 0.5089 GB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3588, allocations: 12 kB / 0.5089 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007469/0.3596, allocations: 254.6 kB / 0.5091 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.3598, allocations: 119.8 kB / 0.5092 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007371/0.3606, allocations: 1.011 MB / 0.5102 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.3609, allocations: 24 kB / 0.5102 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.361, allocations: 59.98 kB / 0.5103 GB, free: 3.949 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.3612, allocations: 212.4 kB / 0.5105 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.3613, allocations: 71.62 kB / 0.5106 GB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007976/0.3621, allocations: 0.5014 MB / 0.5111 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3621, allocations: 4 kB / 0.5111 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.3621, allocations: 0 / 0.5111 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3621, allocations: 0 / 0.5111 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.3638, allocations: 1.021 MB / 0.5121 GB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.3638, allocations: 4 kB / 0.5121 GB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.3644, allocations: 191.8 kB / 0.5122 GB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/0.3645, allocations: 31.8 kB / 0.5123 GB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.3646, allocations: 15.98 kB / 0.5123 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.3665, allocations: 3.555 MB / 0.5158 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3665, allocations: 4 kB / 0.5158 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.3673, allocations: 0.5815 MB / 0.5163 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.3676, allocations: 103.6 kB / 0.5164 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.3676, allocations: 12 kB / 0.5164 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.3678, allocations: 20.14 kB / 0.5165 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/0.3679, allocations: 35.89 kB / 0.5165 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.368, allocations: 39.97 kB / 0.5165 GB, free: 13.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003463/0.3683, allocations: 338.8 kB / 0.5169 GB, free: 12.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3683, allocations: 0 / 0.5169 GB, free: 12.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009075/0.3692, allocations: 251.7 kB / 0.5171 GB, free: 12.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0008605/0.3701, allocations: 291.5 kB / 0.5174 GB, free: 12.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008539/0.371, allocations: 382.5 kB / 0.5177 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.371, allocations: 0 / 0.5177 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006077/0.3716, allocations: 393.5 kB / 0.5181 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.3726, allocations: 311.7 kB / 0.5184 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.375, allocations: 1.124 MB / 0.5195 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.3752, allocations: 174.4 kB / 0.5197 GB, free: 9.883 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006268/0.3758, allocations: 217.2 kB / 0.5199 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.376, allocations: 88.47 kB / 0.52 GB, free: 9.582 MB / 394.7 MB Notification: Performance of SimCode: time 2.655e-06/0.376, allocations: 0 / 0.52 GB, free: 9.582 MB / 394.7 MB Notification: Performance of Templates: time 0.02198/0.398, allocations: 15.12 MB / 0.5347 GB, free: 10.56 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9117192681878805]