Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001492/0.001492, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002346/0.002346, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.551/1.551, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.217/0.217, allocations: 44.92 MB / 359.6 MB, free: 6.262 MB / 286.1 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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.91 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3506, allocations: 65.47 MB / 0.5583 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1855/0.5361, allocations: 151.2 MB / 0.7059 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008387/0.5445, allocations: 5.646 MB / 0.7114 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006948/0.5452, allocations: 27.75 kB / 0.7114 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.5462, allocations: 337.8 kB / 0.7117 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.5484, allocations: 0.8863 MB / 0.7126 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.5516, allocations: 1.051 MB / 0.7136 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002823/0.5544, allocations: 1.821 MB / 0.7154 GB, free: 6.164 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007281/0.5551, allocations: 393.6 kB / 0.7158 GB, free: 5.777 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.5567, allocations: 0.7864 MB / 0.7166 GB, free: 4.988 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.558, allocations: 0.7631 MB / 0.7173 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.5581, allocations: 64 kB / 0.7174 GB, free: 4.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.5594, allocations: 0.5849 MB / 0.7179 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.5597, allocations: 275.1 kB / 0.7182 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004948/0.5602, allocations: 398.2 kB / 0.7186 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.5621, allocations: 1.174 MB / 0.7197 GB, free: 1.738 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.5621, allocations: 4 kB / 0.7197 GB, free: 1.734 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5621, allocations: 0 / 0.7197 GB, free: 1.734 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.5621, allocations: 3.984 kB / 0.7197 GB, free: 1.73 MB / 0.545 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.002245/0.5643, allocations: 0.9912 MB / 0.7207 GB, free: 0.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5644, allocations: 12.03 kB / 0.7207 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003799/0.5648, allocations: 96.42 kB / 0.7208 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.5658, allocations: 478.7 kB / 0.7213 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.5659, allocations: 164.3 kB / 0.7214 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.566, allocations: 44.38 kB / 0.7215 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.5674, allocations: 0.8186 MB / 0.7223 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.5675, allocations: 7.938 kB / 0.7223 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.5675, allocations: 31.86 kB / 0.7223 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/0.5676, allocations: 44.97 kB / 0.7223 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.5688, allocations: 0.6479 MB / 0.723 GB, free: 14.27 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.00523/0.574, allocations: 3.9 MB / 0.7268 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008543/0.5749, allocations: 420.2 kB / 0.7272 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.5752, allocations: 189.4 kB / 0.7274 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.5755, allocations: 60.27 kB / 0.7274 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.5755, allocations: 38.83 kB / 0.7275 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.375e-06/0.5755, allocations: 0 / 0.7275 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003368/0.5789, allocations: 1.406 MB / 0.7288 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/0.579, allocations: 136.5 kB / 0.729 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007234/0.5797, allocations: 0.5733 MB / 0.7295 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.5798, allocations: 33.7 kB / 0.7296 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.5801, allocations: 363.9 kB / 0.7299 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.5802, allocations: 170.6 kB / 0.7301 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.5804, allocations: 138.6 kB / 0.7302 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.5806, allocations: 374.8 kB / 0.7306 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.581, allocations: 213.9 kB / 0.7308 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/0.5817, allocations: 0.5123 MB / 0.7313 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.5827, allocations: 0.764 MB / 0.732 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5827, allocations: 4 kB / 0.732 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00175/0.5845, allocations: 0.91 MB / 0.7329 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.5845, allocations: 11.94 kB / 0.7329 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.5845, allocations: 8 kB / 0.7329 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.586, allocations: 281.2 kB / 0.7332 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.5864, allocations: 123.8 kB / 0.7333 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.5875, allocations: 0.8863 MB / 0.7342 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.588, allocations: 27.98 kB / 0.7342 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/0.5881, allocations: 40 kB / 0.7342 GB, free: 2.035 MB / 0.5606 GB 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.0003985/0.5885, allocations: 249.5 kB / 0.7345 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.5887, allocations: 75.56 kB / 0.7345 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.59, allocations: 0.6921 MB / 0.7352 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.59, allocations: 8 kB / 0.7352 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.59, allocations: 0 / 0.7352 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.59, allocations: 7.922 kB / 0.7352 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2642/0.8542, allocations: 1.307 MB / 0.7365 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.8543, allocations: 1.688 kB / 0.7365 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.8555, allocations: 203.8 kB / 0.7367 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001229/0.8556, allocations: 31.11 kB / 0.7367 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.8556, allocations: 14.8 kB / 0.7368 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.8573, allocations: 2.667 MB / 0.7394 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.8573, allocations: 7.656 kB / 0.7394 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.8591, allocations: 0.9379 MB / 0.7403 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.8594, allocations: 130.5 kB / 0.7404 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.8595, allocations: 12.97 kB / 0.7404 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.8599, allocations: 23.02 kB / 0.7404 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.86, allocations: 36.22 kB / 0.7405 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.8601, allocations: 23.31 kB / 0.7405 GB, free: 175 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005103/0.8606, allocations: 429.9 kB / 0.7409 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8606, allocations: 0 / 0.7409 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007646/0.8614, allocations: 229.7 kB / 0.7411 GB, free: 174.7 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 (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.0003714/0.8617, allocations: 251.2 kB / 0.7414 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.8629, allocations: 0.5828 MB / 0.7419 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8629, allocations: 3.812 kB / 0.7419 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009265/0.8638, allocations: 438.7 kB / 0.7424 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.8653, allocations: 378 kB / 0.7427 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.8672, allocations: 1.429 MB / 0.7441 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.8676, allocations: 0.9355 MB / 0.745 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.8677, allocations: 73.95 kB / 0.7451 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.8677, allocations: 0 / 0.7451 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.01622/0.8839, allocations: 15.99 MB / 0.7607 GB, free: 157.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 10.736113070975989]