Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001802/0.001802, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002198/0.002198, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3775/0.3775, allocations: 34.25 MB / 295.2 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.915e-05, allocations: 2.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.328/0.328, allocations: 130.2 MB / 0.4955 GB, free: 25.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006719/0.3347, allocations: 5.175 MB / 0.5006 GB, free: 22.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007482/0.3354, allocations: 26.41 kB / 0.5006 GB, free: 22.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009948/0.3364, allocations: 310.8 kB / 0.5009 GB, free: 22.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.3386, allocations: 0.9236 MB / 0.5018 GB, free: 21.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.3414, allocations: 1.072 MB / 0.5029 GB, free: 21.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002336/0.3437, allocations: 1.833 MB / 0.5046 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.3444, allocations: 420 kB / 0.505 GB, free: 20.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.3462, allocations: 1.007 MB / 0.506 GB, free: 19.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.3472, allocations: 0.6895 MB / 0.5067 GB, free: 19.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.3474, allocations: 64.78 kB / 0.5068 GB, free: 19.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.3485, allocations: 498.6 kB / 0.5072 GB, free: 19.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.3489, allocations: 282 kB / 0.5075 GB, free: 19.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.3492, allocations: 287.5 kB / 0.5078 GB, free: 19.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.3508, allocations: 1.214 MB / 0.509 GB, free: 18.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3508, allocations: 0 / 0.509 GB, free: 18.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3508, allocations: 0 / 0.509 GB, free: 18.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3508, allocations: 0 / 0.509 GB, free: 18.72 MB / 410.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.002018/0.3528, allocations: 0.9893 MB / 0.5099 GB, free: 18.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3528, allocations: 7.594 kB / 0.5099 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004198/0.3532, allocations: 153.7 kB / 0.5101 GB, free: 18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/0.354, allocations: 0.4998 MB / 0.5106 GB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.3541, allocations: 157.3 kB / 0.5107 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.3542, allocations: 57.92 kB / 0.5108 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.3553, allocations: 1.142 MB / 0.5119 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.3553, allocations: 384 / 0.5119 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.849e-05/0.3553, allocations: 28.16 kB / 0.5119 GB, free: 16.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/0.3554, allocations: 36.98 kB / 0.512 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008723/0.3563, allocations: 0.6476 MB / 0.5126 GB, free: 16.46 MB / 410.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.003476/0.3597, allocations: 3.083 MB / 0.5156 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.3604, allocations: 404.7 kB / 0.516 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.3607, allocations: 188.9 kB / 0.5162 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.361, allocations: 66.5 kB / 0.5162 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.361, allocations: 37.73 kB / 0.5163 GB, free: 13.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.442e-06/0.361, allocations: 0 / 0.5163 GB, free: 13.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.002863/0.3639, allocations: 1.405 MB / 0.5176 GB, free: 13.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.3639, allocations: 139.1 kB / 0.5178 GB, free: 13.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.3644, allocations: 0.521 MB / 0.5183 GB, free: 12.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.3645, allocations: 32.89 kB / 0.5183 GB, free: 12.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.3646, allocations: 375.5 kB / 0.5187 GB, free: 12.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.259e-05/0.3647, allocations: 169.4 kB / 0.5188 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.3649, allocations: 136.9 kB / 0.519 GB, free: 12.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.365, allocations: 368 kB / 0.5193 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.3653, allocations: 223.2 kB / 0.5195 GB, free: 11.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.3658, allocations: 0.5916 MB / 0.5201 GB, free: 11.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007733/0.3666, allocations: 0.7601 MB / 0.5208 GB, free: 10.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3666, allocations: 2.312 kB / 0.5208 GB, free: 10.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00141/0.368, allocations: 0.9357 MB / 0.5218 GB, free: 10.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.368, allocations: 8.125 kB / 0.5218 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.368, allocations: 11.19 kB / 0.5218 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.3693, allocations: 286.1 kB / 0.5221 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.3697, allocations: 124.7 kB / 0.5222 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008099/0.3705, allocations: 0.8929 MB / 0.523 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/0.3709, allocations: 25.44 kB / 0.5231 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.371, allocations: 40.19 kB / 0.5231 GB, free: 9.535 MB / 410.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.0002584/0.3712, allocations: 248.2 kB / 0.5233 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.3714, allocations: 79.25 kB / 0.5234 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.3725, allocations: 0.6935 MB / 0.5241 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.3725, allocations: 5.312 kB / 0.5241 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3725, allocations: 8.594 kB / 0.5241 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3725, allocations: 2.156 kB / 0.5241 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.3742, allocations: 1.164 MB / 0.5252 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3742, allocations: 0 / 0.5252 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009908/0.3752, allocations: 203 kB / 0.5254 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.791e-05/0.3753, allocations: 26.31 kB / 0.5255 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/0.3753, allocations: 20.36 kB / 0.5255 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.3766, allocations: 2.63 MB / 0.5281 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3766, allocations: 2.719 kB / 0.5281 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3778, allocations: 0.9484 MB / 0.529 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.378, allocations: 116.3 kB / 0.5291 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.209e-05/0.3781, allocations: 16.59 kB / 0.5291 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.3785, allocations: 25.31 kB / 0.5291 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.3785, allocations: 33.75 kB / 0.5292 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.3786, allocations: 24.91 kB / 0.5292 GB, free: 5.141 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003273/0.3789, allocations: 354.7 kB / 0.5295 GB, free: 4.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3789, allocations: 0 / 0.5295 GB, free: 4.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000809/0.3797, allocations: 230.5 kB / 0.5297 GB, free: 4.938 MB / 410.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.0003742/0.3801, allocations: 243.7 kB / 0.53 GB, free: 4.797 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.3812, allocations: 0.5789 MB / 0.5305 GB, free: 4.598 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3812, allocations: 2.656 kB / 0.5305 GB, free: 4.598 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009094/0.3821, allocations: 457.3 kB / 0.531 GB, free: 4.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.3834, allocations: 323.1 kB / 0.5313 GB, free: 4.324 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.3852, allocations: 1.303 MB / 0.5326 GB, free: 3.574 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.3854, allocations: 338.9 kB / 0.5329 GB, free: 3.457 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004896/0.3859, allocations: 201.8 kB / 0.5331 GB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.386, allocations: 60.25 kB / 0.5331 GB, free: 3.41 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.386, allocations: 4 kB / 0.5331 GB, free: 3.406 MB / 410.7 MB Notification: Performance of Templates: time 0.02336/0.4094, allocations: 14.28 MB / 0.5471 GB, free: 8.301 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.711023173062131]