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.0009883/0.0009883, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001114/0.001114, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9193/0.9193, allocations: 158.6 MB / 186 MB, free: 2.766 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.1268/0.1268, allocations: 32.38 MB / 270.7 MB, free: 14.53 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 1.753e-06/1.753e-06, allocations: 0 / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.497e-05, allocations: 4.281 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3341/0.3341, allocations: 144.2 MB / 492.4 MB, free: 9.699 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006349/0.3404, allocations: 4.976 MB / 497.4 MB, free: 8.629 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005405/0.341, allocations: 26.81 kB / 497.4 MB, free: 8.613 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006544/0.3416, allocations: 214 kB / 497.6 MB, free: 8.469 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.3441, allocations: 1.137 MB / 498.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.3454, allocations: 0.8478 MB / 499.6 MB, free: 7.496 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.3468, allocations: 1.904 MB / 0.4897 GB, free: 6.402 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.3472, allocations: 425.9 kB / 0.4901 GB, free: 6.094 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.3484, allocations: 1.133 MB / 0.4913 GB, free: 5.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000509/0.3489, allocations: 0.5907 MB / 0.4918 GB, free: 5.117 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.725e-05/0.349, allocations: 59.81 kB / 0.4919 GB, free: 5.117 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007251/0.3497, allocations: 481.5 kB / 0.4923 GB, free: 4.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.3499, allocations: 287.6 kB / 0.4926 GB, free: 4.715 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.3501, allocations: 284.2 kB / 0.4929 GB, free: 4.582 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000946/0.3511, allocations: 1.005 MB / 0.4939 GB, free: 3.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3511, allocations: 0 / 0.4939 GB, free: 3.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3511, allocations: 0 / 0.4939 GB, free: 3.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3511, allocations: 0 / 0.4939 GB, free: 3.98 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.001401/0.3525, allocations: 1.141 MB / 0.495 GB, free: 3.094 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3525, allocations: 10.91 kB / 0.495 GB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004991/0.353, allocations: 210.1 kB / 0.4952 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.3535, allocations: 492.2 kB / 0.4957 GB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.705e-05/0.3536, allocations: 158.9 kB / 0.4958 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/0.3537, allocations: 47.75 kB / 0.4959 GB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.3543, allocations: 0.9739 MB / 0.4968 GB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3543, allocations: 6.531 kB / 0.4968 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.3543, allocations: 21.94 kB / 0.4968 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-05/0.3544, allocations: 38.98 kB / 0.4969 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.3547, allocations: 256.1 kB / 0.4971 GB, free: 1.367 MB / 362.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.002597/0.3573, allocations: 3.79 MB / 0.5008 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.3575, allocations: 188.2 kB / 0.501 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.745e-05/0.3576, allocations: 80.19 kB / 0.5011 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.3578, allocations: 133.7 kB / 0.5012 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.3578, allocations: 41.67 kB / 0.5012 GB, free: 13.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.3578, allocations: 0 / 0.5012 GB, free: 13.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002333/0.3602, allocations: 1.01 MB / 0.5022 GB, free: 12.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.3602, allocations: 136.5 kB / 0.5024 GB, free: 11.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.3606, allocations: 0.541 MB / 0.5029 GB, free: 11.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.3606, allocations: 37.7 kB / 0.5029 GB, free: 11.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.3608, allocations: 446.8 kB / 0.5034 GB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.881e-05/0.3609, allocations: 150.7 kB / 0.5035 GB, free: 10.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.3611, allocations: 168.1 kB / 0.5037 GB, free: 10.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3613, allocations: 0.5546 MB / 0.5042 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3614, allocations: 73.94 kB / 0.5043 GB, free: 9.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.3617, allocations: 0.6298 MB / 0.5049 GB, free: 9.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.3622, allocations: 0.6613 MB / 0.5055 GB, free: 8.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3622, allocations: 4 kB / 0.5055 GB, free: 8.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000708/0.3629, allocations: 0.6216 MB / 0.5061 GB, free: 7.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3629, allocations: 12.03 kB / 0.5062 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.3629, allocations: 14.94 kB / 0.5062 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006652/0.3636, allocations: 250.5 kB / 0.5064 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.3642, allocations: 127.8 kB / 0.5065 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005704/0.3648, allocations: 0.9832 MB / 0.5075 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.365, allocations: 28.03 kB / 0.5075 GB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.365, allocations: 55.98 kB / 0.5076 GB, free: 6.121 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001634/0.3652, allocations: 204.3 kB / 0.5078 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.3653, allocations: 75.62 kB / 0.5078 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005914/0.3658, allocations: 490 kB / 0.5083 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3659, allocations: 4 kB / 0.5083 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3659, allocations: 0 / 0.5083 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3659, allocations: 0 / 0.5083 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/0.3668, allocations: 0.9177 MB / 0.5092 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3668, allocations: 7.922 kB / 0.5092 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.3672, allocations: 175.8 kB / 0.5094 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.385e-05/0.3673, allocations: 19.67 kB / 0.5094 GB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.3673, allocations: 20.12 kB / 0.5094 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.3687, allocations: 3.516 MB / 0.5129 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3687, allocations: 0 / 0.5129 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.3692, allocations: 0.5541 MB / 0.5134 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/0.3697, allocations: 95.52 kB / 0.5135 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.3697, allocations: 12 kB / 0.5135 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.3699, allocations: 15.98 kB / 0.5135 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.37, allocations: 39.83 kB / 0.5135 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.37, allocations: 31.98 kB / 0.5136 GB, free: 15.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002017/0.3702, allocations: 330.8 kB / 0.5139 GB, free: 15.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3702, allocations: 0 / 0.5139 GB, free: 15.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005246/0.3707, allocations: 247.8 kB / 0.5141 GB, free: 15.05 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.000535/0.3713, allocations: 299.7 kB / 0.5144 GB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004679/0.3717, allocations: 350.7 kB / 0.5148 GB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3717, allocations: 0 / 0.5148 GB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.3721, allocations: 365.5 kB / 0.5151 GB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007226/0.3729, allocations: 321.9 kB / 0.5154 GB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.3745, allocations: 1.12 MB / 0.5165 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.3746, allocations: 170.5 kB / 0.5167 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003396/0.3749, allocations: 157.4 kB / 0.5168 GB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.3755, allocations: 365.9 kB / 0.5172 GB, free: 11.86 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3755, allocations: 4 kB / 0.5172 GB, free: 11.86 MB / 394.7 MB Notification: Performance of Templates: time 0.01925/0.3947, allocations: 16.75 MB / 0.5335 GB, free: 11.19 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.8172737755812705]