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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 109.5 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 188 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2052/0.2052, allocations: 44.18 MB / 336.7 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 63.89 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4689, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2317/0.7006, allocations: 174.4 MB / 0.6892 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008381/0.709, allocations: 5.327 MB / 0.6944 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.7101, allocations: 19.88 kB / 0.6944 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.7116, allocations: 322 kB / 0.6947 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004558/0.7161, allocations: 1.241 MB / 0.6959 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.7191, allocations: 0.9618 MB / 0.6969 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00317/0.7223, allocations: 1.848 MB / 0.6987 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.724, allocations: 465.3 kB / 0.6991 GB, free: 2.898 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004598/0.7286, allocations: 1.086 MB / 0.7002 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002302/0.7309, allocations: 0.6462 MB / 0.7008 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000421/0.7314, allocations: 64 kB / 0.7009 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002523/0.7339, allocations: 0.6203 MB / 0.7015 GB, free: 488 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006109/0.7346, allocations: 271.2 kB / 0.7017 GB, free: 216 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009375/0.7355, allocations: 394.2 kB / 0.7021 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.7386, allocations: 1.301 MB / 0.7034 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7386, allocations: 0 / 0.7034 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7386, allocations: 0 / 0.7034 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.347e-05/0.7386, allocations: 0 / 0.7034 GB, free: 14.52 MB / 0.5606 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.003249/0.7419, allocations: 1.106 MB / 0.7045 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.7419, allocations: 12.03 kB / 0.7045 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009598/0.7429, allocations: 131.1 kB / 0.7046 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.7441, allocations: 0.5313 MB / 0.7051 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.7442, allocations: 100.4 kB / 0.7052 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.7443, allocations: 51.98 kB / 0.7053 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.7458, allocations: 0.8135 MB / 0.7061 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.7458, allocations: 4 kB / 0.7061 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.45e-05/0.7459, allocations: 27.98 kB / 0.7061 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/0.746, allocations: 40.92 kB / 0.7061 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.7471, allocations: 0.6204 MB / 0.7067 GB, free: 10.9 MB / 0.5606 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.005109/0.7523, allocations: 3.957 MB / 0.7106 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.7529, allocations: 367.5 kB / 0.711 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.7532, allocations: 165.3 kB / 0.7111 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.7534, allocations: 97.38 kB / 0.7112 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.7534, allocations: 38.83 kB / 0.7112 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 4.479e-06/0.7534, allocations: 4 kB / 0.7113 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005408/0.7588, allocations: 1.657 MB / 0.7129 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.7589, allocations: 132.5 kB / 0.713 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008776/0.7598, allocations: 0.6133 MB / 0.7136 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.7599, allocations: 33.7 kB / 0.7136 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.7602, allocations: 374.8 kB / 0.714 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.7603, allocations: 138 kB / 0.7141 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.7606, allocations: 162.5 kB / 0.7143 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.7608, allocations: 374.8 kB / 0.7146 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.7611, allocations: 201.9 kB / 0.7148 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.7617, allocations: 0.5125 MB / 0.7153 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.7628, allocations: 0.7591 MB / 0.7161 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.7628, allocations: 3.938 kB / 0.7161 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.3753/1.138, allocations: 0.8758 MB / 0.7169 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/1.138, allocations: 9.344 kB / 0.7169 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/1.138, allocations: 10.42 kB / 0.7169 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/1.14, allocations: 319.2 kB / 0.7172 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/1.14, allocations: 118.9 kB / 0.7174 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/1.142, allocations: 0.9335 MB / 0.7183 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006557/1.142, allocations: 29.25 kB / 0.7183 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/1.143, allocations: 66.59 kB / 0.7184 GB, free: 189.2 MB / 0.5606 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.000427/1.143, allocations: 243.4 kB / 0.7186 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/1.143, allocations: 67.33 kB / 0.7187 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/1.145, allocations: 0.8677 MB / 0.7195 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.145, allocations: 4.703 kB / 0.7195 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/1.145, allocations: 3 kB / 0.7195 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.145, allocations: 3.406 kB / 0.7195 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/1.148, allocations: 1.457 MB / 0.7209 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.148, allocations: 5.25 kB / 0.7209 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.149, allocations: 211.1 kB / 0.7211 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-05/1.149, allocations: 23.95 kB / 0.7212 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/1.149, allocations: 21.67 kB / 0.7212 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/1.151, allocations: 2.877 MB / 0.724 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.151, allocations: 1.125 kB / 0.724 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/1.152, allocations: 0.8282 MB / 0.7248 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/1.152, allocations: 197.1 kB / 0.725 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-05/1.153, allocations: 12.52 kB / 0.725 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/1.153, allocations: 16.66 kB / 0.725 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.153, allocations: 40.61 kB / 0.7251 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.494e-05/1.153, allocations: 45.09 kB / 0.7251 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006313/1.154, allocations: 441.7 kB / 0.7255 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/1.154, allocations: 0 / 0.7255 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001213/1.155, allocations: 252.7 kB / 0.7258 GB, free: 184.1 MB / 0.5606 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.000824/1.156, allocations: 296 kB / 0.726 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001236/1.157, allocations: 0.5576 MB / 0.7266 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.157, allocations: 5 kB / 0.7266 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.158, allocations: 421.2 kB / 0.727 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.16, allocations: 372.4 kB / 0.7274 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/1.162, allocations: 1.327 MB / 0.7287 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/1.163, allocations: 0.9297 MB / 0.7296 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001061/1.164, allocations: 472.5 kB / 0.73 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/1.164, allocations: 113.7 kB / 0.7301 GB, free: 182 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/1.164, allocations: 4 kB / 0.7301 GB, free: 182 MB / 0.5606 GB Notification: Performance of Templates: time 0.02855/1.193, allocations: 17.77 MB / 0.7475 GB, free: 169.8 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (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) 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) Reference file matches