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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 109.5 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 186 kB / 22.97 MB, free: 5.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.708/1.708, allocations: 225.6 MB / 251.6 MB, free: 13.35 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.2187/0.2187, allocations: 44.91 MB / 351.6 MB, free: 12.24 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.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.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: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 71.89 kB / 495.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3713, allocations: 64.25 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1962/0.5675, allocations: 148.2 MB / 0.6912 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00893/0.5765, allocations: 5.622 MB / 0.6966 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009181/0.5774, allocations: 23.81 kB / 0.6967 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.5784, allocations: 333.9 kB / 0.697 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.5806, allocations: 0.8783 MB / 0.6978 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.5835, allocations: 1.034 MB / 0.6989 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002488/0.5859, allocations: 1.798 MB / 0.7006 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/0.5866, allocations: 408.4 kB / 0.701 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.5882, allocations: 0.7669 MB / 0.7017 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.5896, allocations: 0.7475 MB / 0.7025 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.5898, allocations: 64 kB / 0.7025 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.5912, allocations: 0.5497 MB / 0.7031 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.5915, allocations: 267.2 kB / 0.7033 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005408/0.5921, allocations: 406.2 kB / 0.7037 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.5939, allocations: 1.148 MB / 0.7048 GB, free: 13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5939, allocations: 0 / 0.7048 GB, free: 13 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5939, allocations: 0 / 0.7048 GB, free: 13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.5939, allocations: 0 / 0.7048 GB, free: 13 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.002472/0.5964, allocations: 1.074 MB / 0.7059 GB, free: 11.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.5964, allocations: 8.031 kB / 0.7059 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003556/0.5968, allocations: 96.45 kB / 0.706 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000884/0.5977, allocations: 0.5369 MB / 0.7065 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.5978, allocations: 108.9 kB / 0.7066 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.455e-05/0.5979, allocations: 48.38 kB / 0.7067 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.5992, allocations: 0.8188 MB / 0.7075 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.5992, allocations: 0 / 0.7075 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.5993, allocations: 24 kB / 0.7075 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/0.5994, allocations: 48.84 kB / 0.7075 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.6004, allocations: 0.6479 MB / 0.7082 GB, free: 9.43 MB / 0.545 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.004957/0.6054, allocations: 3.96 MB / 0.712 GB, free: 5.188 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/0.6062, allocations: 416.2 kB / 0.7124 GB, free: 4.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.6066, allocations: 193.4 kB / 0.7126 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/0.6073, allocations: 0.7327 MB / 0.7133 GB, free: 3.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.6073, allocations: 38.89 kB / 0.7134 GB, free: 3.633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.6073, allocations: 0 / 0.7134 GB, free: 3.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003343/0.6106, allocations: 1.554 MB / 0.7149 GB, free: 2.004 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.534e-05/0.6107, allocations: 140.5 kB / 0.715 GB, free: 1.836 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/0.6114, allocations: 0.5693 MB / 0.7156 GB, free: 1.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.6115, allocations: 37.7 kB / 0.7156 GB, free: 1.211 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.6118, allocations: 355.9 kB / 0.7159 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.6119, allocations: 174.5 kB / 0.7161 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.6122, allocations: 142.6 kB / 0.7163 GB, free: 0.543 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.6123, allocations: 370.8 kB / 0.7166 GB, free: 176 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.6127, allocations: 217.9 kB / 0.7168 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006486/0.6134, allocations: 0.5123 MB / 0.7173 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.6144, allocations: 0.7679 MB / 0.7181 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6144, allocations: 4 kB / 0.7181 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001681/0.6161, allocations: 0.9061 MB / 0.719 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6161, allocations: 11.94 kB / 0.719 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.6162, allocations: 11.98 kB / 0.719 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.6175, allocations: 295.8 kB / 0.7193 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.6179, allocations: 119.8 kB / 0.7194 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.619, allocations: 0.8879 MB / 0.7202 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.6194, allocations: 31.98 kB / 0.7203 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.6195, allocations: 32 kB / 0.7203 GB, free: 12.09 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.0003361/0.6198, allocations: 245.6 kB / 0.7205 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.62, allocations: 71.58 kB / 0.7206 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.6214, allocations: 0.7717 MB / 0.7214 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.6214, allocations: 4 kB / 0.7214 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6214, allocations: 0 / 0.7214 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.6214, allocations: 7.922 kB / 0.7214 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.6235, allocations: 1.408 MB / 0.7227 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.6235, allocations: 7.984 kB / 0.7227 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.6246, allocations: 199.8 kB / 0.7229 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.961e-05/0.6247, allocations: 29.03 kB / 0.723 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.6247, allocations: 12 kB / 0.723 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.6271, allocations: 2.877 MB / 0.7258 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6271, allocations: 3.938 kB / 0.7258 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.6287, allocations: 1.009 MB / 0.7268 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.629, allocations: 208.5 kB / 0.727 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.983e-05/0.6291, allocations: 16 kB / 0.727 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.6295, allocations: 19.98 kB / 0.727 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.6296, allocations: 43.73 kB / 0.7271 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/0.6297, allocations: 23.98 kB / 0.7271 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005844/0.6303, allocations: 431 kB / 0.7275 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6303, allocations: 0 / 0.7275 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009051/0.6312, allocations: 219.8 kB / 0.7277 GB, free: 4.02 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.0006408/0.6318, allocations: 283.6 kB / 0.728 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.6332, allocations: 0.5715 MB / 0.7285 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6332, allocations: 0 / 0.7285 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.6343, allocations: 444.1 kB / 0.7289 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.6359, allocations: 374.5 kB / 0.7293 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.6383, allocations: 1.397 MB / 0.7307 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2317/0.87, allocations: 0.9307 MB / 0.7316 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001077/0.871, allocations: 206.1 kB / 0.7318 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.8713, allocations: 64.22 kB / 0.7318 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.613e-06/0.8713, allocations: 0.5312 kB / 0.7318 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02415/0.8954, allocations: 16.01 MB / 0.7475 GB, free: 172.3 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/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: 6.410967929288745]