Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.000817/0.000817, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003776/0.003776, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8979/0.8979, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2655/0.2655, allocations: 32.79 MB / 294.2 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.935e-05/4.24e-05, allocations: 12.33 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3514/0.3514, allocations: 153.8 MB / 0.5807 GB, free: 10.51 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004957/0.3564, allocations: 4.911 MB / 0.5855 GB, free: 5.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.3567, allocations: 31.69 kB / 0.5856 GB, free: 5.559 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006668/0.3573, allocations: 313.9 kB / 0.5859 GB, free: 5.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.3596, allocations: 1.307 MB / 0.5871 GB, free: 3.938 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.361, allocations: 1.02 MB / 0.5881 GB, free: 2.926 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.3621, allocations: 1.887 MB / 0.59 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.3625, allocations: 396.5 kB / 0.5904 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.364, allocations: 1.347 MB / 0.5917 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005855/0.3646, allocations: 0.6311 MB / 0.5923 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.166e-05/0.3647, allocations: 64 kB / 0.5924 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006935/0.3654, allocations: 0.5538 MB / 0.5929 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00051/0.3659, allocations: 287.1 kB / 0.5932 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.3661, allocations: 283.4 kB / 0.5934 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.3672, allocations: 1.39 MB / 0.5948 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3672, allocations: 0 / 0.5948 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3672, allocations: 0 / 0.5948 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.3672, allocations: 0 / 0.5948 GB, free: 12.09 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.001466/0.3687, allocations: 1.045 MB / 0.5958 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3687, allocations: 8.031 kB / 0.5958 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004358/0.3692, allocations: 143.4 kB / 0.596 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006067/0.3698, allocations: 473.5 kB / 0.5964 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.3699, allocations: 155.7 kB / 0.5966 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.37, allocations: 51.94 kB / 0.5966 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009266/0.3709, allocations: 1.14 MB / 0.5977 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.3709, allocations: 7.938 kB / 0.5977 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.371, allocations: 27.98 kB / 0.5978 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.371, allocations: 36.97 kB / 0.5978 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/0.3717, allocations: 0.6204 MB / 0.5984 GB, free: 8.156 MB / 0.4948 GB 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.002815/0.3745, allocations: 3.216 MB / 0.6015 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.3749, allocations: 338.2 kB / 0.6019 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.3751, allocations: 172.2 kB / 0.602 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.841e-05/0.3751, allocations: 8.281 kB / 0.602 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3752, allocations: 38.84 kB / 0.6021 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/0.3752, allocations: 0 / 0.6021 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002973/0.3781, allocations: 1.599 MB / 0.6036 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.3782, allocations: 140.5 kB / 0.6038 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/0.3786, allocations: 0.526 MB / 0.6043 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.3786, allocations: 33.7 kB / 0.6043 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.3788, allocations: 384.2 kB / 0.6047 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.138e-05/0.3789, allocations: 150.7 kB / 0.6048 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.379, allocations: 154.6 kB / 0.605 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3791, allocations: 378.7 kB / 0.6053 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.3794, allocations: 203.7 kB / 0.6055 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.3798, allocations: 0.588 MB / 0.6061 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009044/0.3807, allocations: 0.7487 MB / 0.6068 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3807, allocations: 0 / 0.6068 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008864/0.3815, allocations: 0.8813 MB / 0.6077 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3816, allocations: 12 kB / 0.6077 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3816, allocations: 8.906 kB / 0.6077 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007266/0.3823, allocations: 312.6 kB / 0.608 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.3825, allocations: 119.8 kB / 0.6081 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007235/0.3832, allocations: 0.9342 MB / 0.609 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.3835, allocations: 31.12 kB / 0.6091 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.3835, allocations: 63.98 kB / 0.6091 GB, free: 12.6 MB / 0.5105 GB 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.0002065/0.3837, allocations: 249.5 kB / 0.6094 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.3838, allocations: 67.64 kB / 0.6094 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009802/0.3848, allocations: 0.8574 MB / 0.6103 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3848, allocations: 4 kB / 0.6103 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3848, allocations: 0 / 0.6103 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3848, allocations: 7.922 kB / 0.6103 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.3859, allocations: 1.095 MB / 0.6113 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3859, allocations: 4 kB / 0.6113 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.3864, allocations: 203.8 kB / 0.6115 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.005e-05/0.3865, allocations: 24.84 kB / 0.6116 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.3865, allocations: 21.39 kB / 0.6116 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.3881, allocations: 2.622 MB / 0.6141 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3881, allocations: 11.95 kB / 0.6142 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007703/0.3889, allocations: 0.8068 MB / 0.6149 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.389, allocations: 107.6 kB / 0.615 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.3891, allocations: 11.94 kB / 0.6151 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.3892, allocations: 16.86 kB / 0.6151 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.3893, allocations: 43.94 kB / 0.6151 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.3893, allocations: 43.98 kB / 0.6152 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002641/0.3896, allocations: 354.8 kB / 0.6155 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3896, allocations: 4 kB / 0.6155 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005489/0.3902, allocations: 255.7 kB / 0.6157 GB, free: 5.512 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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.0005182/0.3907, allocations: 290.8 kB / 0.616 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007185/0.3914, allocations: 0.5273 MB / 0.6165 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.3914, allocations: 8.453 kB / 0.6165 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.3919, allocations: 398.2 kB / 0.6169 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.3927, allocations: 309.5 kB / 0.6172 GB, free: 4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3941, allocations: 1.289 MB / 0.6185 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.3943, allocations: 332.2 kB / 0.6188 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.3945, allocations: 124.4 kB / 0.6189 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.3945, allocations: 0 / 0.6189 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of Templates: time 0.01329/0.4078, allocations: 16.13 MB / 0.6347 GB, free: 2.105 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: 7.472052909433842]