Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001768/0.001768, allocations: 109 kB / 21.23 MB, free: 0.5117 MB / 14.72 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.002204/0.002204, allocations: 209.9 kB / 24.54 MB, free: 3.906 MB / 14.72 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.47/1.47, allocations: 230.3 MB / 258 MB, free: 8.406 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2295/0.2295, allocations: 46.93 MB / 361.4 MB, free: 4.484 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 83.86 kB / 0.4972 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3478, allocations: 66.04 MB / 0.5617 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1888/0.5366, allocations: 151.2 MB / 0.7093 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008726/0.5454, allocations: 5.633 MB / 0.7148 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008477/0.5462, allocations: 31.69 kB / 0.7148 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.5474, allocations: 333.9 kB / 0.7151 GB, free: 6.965 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.5497, allocations: 0.8979 MB / 0.716 GB, free: 6.062 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.5526, allocations: 1.046 MB / 0.717 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002655/0.5553, allocations: 1.825 MB / 0.7188 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007012/0.556, allocations: 397.6 kB / 0.7192 GB, free: 2.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.5575, allocations: 0.7901 MB / 0.72 GB, free: 2.008 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.5588, allocations: 0.7592 MB / 0.7207 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.5589, allocations: 60 kB / 0.7208 GB, free: 1.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.5602, allocations: 0.5848 MB / 0.7213 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.5605, allocations: 275.1 kB / 0.7216 GB, free: 340 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.561, allocations: 398.3 kB / 0.722 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.5627, allocations: 1.176 MB / 0.7231 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5627, allocations: 0 / 0.7231 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5627, allocations: 0 / 0.7231 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.5627, allocations: 0 / 0.7231 GB, free: 14.76 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.00214/0.5649, allocations: 0.9989 MB / 0.7241 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5649, allocations: 8.031 kB / 0.7241 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003805/0.5653, allocations: 96.41 kB / 0.7242 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009327/0.5662, allocations: 486.8 kB / 0.7247 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.5664, allocations: 101 kB / 0.7248 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.5665, allocations: 52.36 kB / 0.7248 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.5679, allocations: 0.811 MB / 0.7256 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.5679, allocations: 3.938 kB / 0.7256 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.281e-05/0.568, allocations: 24 kB / 0.7256 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-05/0.568, allocations: 40.92 kB / 0.7257 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.5692, allocations: 0.6595 MB / 0.7263 GB, free: 11.36 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.005016/0.5742, allocations: 3.908 MB / 0.7301 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/0.575, allocations: 410.8 kB / 0.7305 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.5754, allocations: 197.4 kB / 0.7307 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/0.5756, allocations: 60.28 kB / 0.7308 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.5757, allocations: 38.89 kB / 0.7308 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/0.5757, allocations: 7.938 kB / 0.7308 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003278/0.579, allocations: 1.406 MB / 0.7322 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.516e-05/0.5791, allocations: 132.5 kB / 0.7323 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006985/0.5798, allocations: 0.5694 MB / 0.7329 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.5798, allocations: 33.7 kB / 0.7329 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.5801, allocations: 359.9 kB / 0.7333 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.5802, allocations: 170.6 kB / 0.7334 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.5804, allocations: 142.6 kB / 0.7336 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.5806, allocations: 370.8 kB / 0.7339 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.581, allocations: 221.9 kB / 0.7341 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.5816, allocations: 0.5208 MB / 0.7346 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.5827, allocations: 0.7562 MB / 0.7354 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.5827, allocations: 0 / 0.7354 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001651/0.5843, allocations: 0.906 MB / 0.7362 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.5844, allocations: 11.94 kB / 0.7363 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.5844, allocations: 12 kB / 0.7363 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.5858, allocations: 289.3 kB / 0.7365 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.5862, allocations: 123.8 kB / 0.7367 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2928/0.879, allocations: 0.877 MB / 0.7375 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006744/0.8797, allocations: 27.5 kB / 0.7375 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.003e-05/0.8798, allocations: 38.81 kB / 0.7376 GB, free: 174.5 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.0003739/0.8802, allocations: 246 kB / 0.7378 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.8803, allocations: 67.94 kB / 0.7379 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.8818, allocations: 0.6925 MB / 0.7386 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.8818, allocations: 5.938 kB / 0.7386 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.8818, allocations: 0.6562 kB / 0.7386 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.8818, allocations: 4.203 kB / 0.7386 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.8838, allocations: 1.307 MB / 0.7398 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.8838, allocations: 3.172 kB / 0.7399 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.8848, allocations: 209.6 kB / 0.7401 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.247e-05/0.8849, allocations: 21 kB / 0.7401 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.885, allocations: 19.94 kB / 0.7401 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.8864, allocations: 2.675 MB / 0.7427 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8864, allocations: 0 / 0.7427 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.8875, allocations: 0.948 MB / 0.7436 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.8878, allocations: 133.9 kB / 0.7438 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.8879, allocations: 11.97 kB / 0.7438 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.8882, allocations: 15.5 kB / 0.7438 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.8883, allocations: 48.09 kB / 0.7438 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.8883, allocations: 23.72 kB / 0.7439 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000394/0.8887, allocations: 427.9 kB / 0.7443 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8887, allocations: 1.625 kB / 0.7443 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007275/0.8894, allocations: 224.1 kB / 0.7445 GB, free: 170.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 (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.000344/0.8898, allocations: 245 kB / 0.7447 GB, free: 170 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009668/0.8908, allocations: 0.5871 MB / 0.7453 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8908, allocations: 1.406 kB / 0.7453 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008432/0.8916, allocations: 438.3 kB / 0.7457 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.893, allocations: 392.9 kB / 0.7461 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.8946, allocations: 1.385 MB / 0.7474 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.8948, allocations: 0.9384 MB / 0.7483 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004752/0.8953, allocations: 209.4 kB / 0.7485 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.8954, allocations: 67.42 kB / 0.7486 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.8954, allocations: 0 / 0.7486 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02016/0.9156, allocations: 16.24 MB / 0.7645 GB, free: 151.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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: 6.172696600668132]