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.00144/0.00144, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001909/0.001909, allocations: 213.3 kB / 23.72 MB, free: 4.539 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2272/0.2272, allocations: 44.94 MB / 358.8 MB, free: 6.066 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.002281/0.002281, allocations: 63.91 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.418, allocations: 65.48 MB / 0.5575 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1829/0.6009, allocations: 130.3 MB / 0.6847 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008347/0.6093, allocations: 5.163 MB / 0.6897 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006207/0.6099, allocations: 27.75 kB / 0.6897 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.611, allocations: 326 kB / 0.6901 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.6131, allocations: 0.8863 MB / 0.6909 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.6161, allocations: 1.05 MB / 0.6919 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002415/0.6185, allocations: 1.817 MB / 0.6937 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.6191, allocations: 397.5 kB / 0.6941 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.6206, allocations: 0.7864 MB / 0.6949 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.6218, allocations: 0.7397 MB / 0.6956 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.622, allocations: 60 kB / 0.6956 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.6232, allocations: 487.1 kB / 0.6961 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.6235, allocations: 279.1 kB / 0.6964 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.6239, allocations: 330.6 kB / 0.6967 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.6255, allocations: 1.163 MB / 0.6978 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.6255, allocations: 0 / 0.6978 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6255, allocations: 4 kB / 0.6978 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.6255, allocations: 4 kB / 0.6978 GB, free: 7.223 MB / 0.5294 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.002192/0.6277, allocations: 0.9911 MB / 0.6988 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.6277, allocations: 16.03 kB / 0.6988 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.6281, allocations: 92.42 kB / 0.6989 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.6291, allocations: 486.7 kB / 0.6994 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.6293, allocations: 152.4 kB / 0.6995 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/0.6294, allocations: 48.38 kB / 0.6996 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.631, allocations: 1.145 MB / 0.7007 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.631, allocations: 0 / 0.7007 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.6311, allocations: 24 kB / 0.7007 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.478e-05/0.6312, allocations: 44.97 kB / 0.7007 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.6323, allocations: 0.6555 MB / 0.7014 GB, free: 3.359 MB / 0.5294 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.004445/0.6368, allocations: 3.066 MB / 0.7044 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008424/0.6376, allocations: 412.2 kB / 0.7048 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.6379, allocations: 189.4 kB / 0.705 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/0.6382, allocations: 64.28 kB / 0.705 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.6383, allocations: 42.89 kB / 0.7051 GB, free: 15.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.913e-06/0.6383, allocations: 0 / 0.7051 GB, free: 15.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003285/0.6416, allocations: 1.39 MB / 0.7064 GB, free: 14.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.614e-05/0.6417, allocations: 140.5 kB / 0.7065 GB, free: 13.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000653/0.6423, allocations: 0.5181 MB / 0.7071 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.6424, allocations: 37.7 kB / 0.7071 GB, free: 13.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.6427, allocations: 364.4 kB / 0.7074 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.6428, allocations: 178.5 kB / 0.7076 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.643, allocations: 146.5 kB / 0.7077 GB, free: 12.63 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.6432, allocations: 362.8 kB / 0.7081 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.6436, allocations: 213.9 kB / 0.7083 GB, free: 12.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.6443, allocations: 0.5993 MB / 0.7089 GB, free: 11.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.6454, allocations: 0.7601 MB / 0.7096 GB, free: 10.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.6454, allocations: 4 kB / 0.7096 GB, free: 10.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001651/0.647, allocations: 0.8988 MB / 0.7105 GB, free: 9.492 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.647, allocations: 8 kB / 0.7105 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.6471, allocations: 11.94 kB / 0.7105 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.6484, allocations: 280.8 kB / 0.7108 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.6488, allocations: 123.8 kB / 0.7109 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.6499, allocations: 0.8941 MB / 0.7118 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.6503, allocations: 27.98 kB / 0.7118 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/0.6504, allocations: 36 kB / 0.7118 GB, free: 8.094 MB / 0.545 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.0003507/0.6508, allocations: 248.5 kB / 0.7121 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.6509, allocations: 63.62 kB / 0.7121 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.6522, allocations: 0.6956 MB / 0.7128 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.6522, allocations: 4 kB / 0.7128 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6522, allocations: 4 kB / 0.7128 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.6522, allocations: 3.984 kB / 0.7128 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.6542, allocations: 1.176 MB / 0.714 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6542, allocations: 0 / 0.714 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.6553, allocations: 203.7 kB / 0.7142 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.29e-05/0.6554, allocations: 24.84 kB / 0.7142 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.6554, allocations: 15.98 kB / 0.7142 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.6579, allocations: 2.628 MB / 0.7168 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/0.6579, allocations: 3.984 kB / 0.7168 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.6597, allocations: 0.9377 MB / 0.7177 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.6601, allocations: 119.6 kB / 0.7178 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/0.6602, allocations: 11.98 kB / 0.7178 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.6606, allocations: 16 kB / 0.7178 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.6607, allocations: 35.94 kB / 0.7179 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-05/0.6608, allocations: 23.97 kB / 0.7179 GB, free: 1.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005591/0.6613, allocations: 362.7 kB / 0.7182 GB, free: 1.223 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.6613, allocations: 0 / 0.7182 GB, free: 1.223 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001088/0.6624, allocations: 223.8 kB / 0.7185 GB, free: 1.004 MB / 0.545 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.000483/0.6629, allocations: 248.8 kB / 0.7187 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.6642, allocations: 0.5795 MB / 0.7193 GB, free: 180 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.6642, allocations: 7.953 kB / 0.7193 GB, free: 172 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.6653, allocations: 443.3 kB / 0.7197 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.6668, allocations: 305.9 kB / 0.72 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.6691, allocations: 1.381 MB / 0.7213 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.6694, allocations: 341.1 kB / 0.7217 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005793/0.67, allocations: 200.7 kB / 0.7218 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.6702, allocations: 59.42 kB / 0.7219 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.6702, allocations: 0 / 0.7219 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.3183/0.9885, allocations: 15.26 MB / 0.7368 GB, free: 176.5 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.359852084890008]