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.00192/0.00192, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002407/0.002407, allocations: 213.2 kB / 24.48 MB, free: 3.844 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.487/1.487, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2237/0.2237, allocations: 44.95 MB / 359.6 MB, free: 6.051 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.002954/0.002954, allocations: 59.91 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3549, allocations: 65.47 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1704/0.5253, allocations: 130.3 MB / 0.6854 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008329/0.5336, allocations: 5.179 MB / 0.6905 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006348/0.5343, allocations: 31.75 kB / 0.6905 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.5354, allocations: 314 kB / 0.6908 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.5376, allocations: 0.8901 MB / 0.6917 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.5405, allocations: 1.042 MB / 0.6927 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.5429, allocations: 1.817 MB / 0.6945 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007706/0.5436, allocations: 393.6 kB / 0.6948 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.5452, allocations: 0.7903 MB / 0.6956 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.5466, allocations: 0.7358 MB / 0.6963 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.5468, allocations: 64 kB / 0.6964 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.548, allocations: 491.1 kB / 0.6969 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/0.5484, allocations: 271.2 kB / 0.6971 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005425/0.5489, allocations: 338.6 kB / 0.6974 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.5507, allocations: 1.16 MB / 0.6986 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5507, allocations: 0 / 0.6986 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5507, allocations: 3.938 kB / 0.6986 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.161e-05/0.5507, allocations: 4 kB / 0.6986 GB, free: 7.203 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.002393/0.5531, allocations: 0.995 MB / 0.6995 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5531, allocations: 12.03 kB / 0.6996 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004036/0.5536, allocations: 96.41 kB / 0.6997 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.5546, allocations: 478.8 kB / 0.7001 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.5548, allocations: 152.4 kB / 0.7003 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.824e-05/0.5549, allocations: 48.38 kB / 0.7003 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.5565, allocations: 1.149 MB / 0.7014 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.5565, allocations: 3.938 kB / 0.7014 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.5566, allocations: 20 kB / 0.7014 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/0.5566, allocations: 44.97 kB / 0.7015 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.5578, allocations: 0.6517 MB / 0.7021 GB, free: 3.344 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.004727/0.5625, allocations: 3.07 MB / 0.7051 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/0.5634, allocations: 411 kB / 0.7055 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.5638, allocations: 189.4 kB / 0.7057 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.5641, allocations: 76.27 kB / 0.7058 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.5641, allocations: 38.89 kB / 0.7058 GB, free: 15.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/0.5641, allocations: 0 / 0.7058 GB, free: 15.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003368/0.5675, allocations: 1.39 MB / 0.7072 GB, free: 14.03 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/0.5676, allocations: 136.5 kB / 0.7073 GB, free: 13.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.5683, allocations: 0.5181 MB / 0.7078 GB, free: 13.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.5683, allocations: 37.7 kB / 0.7078 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.5686, allocations: 364.4 kB / 0.7082 GB, free: 12.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.5688, allocations: 178.5 kB / 0.7084 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.569, allocations: 138.6 kB / 0.7085 GB, free: 12.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.5692, allocations: 366.8 kB / 0.7088 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/0.5696, allocations: 217.9 kB / 0.709 GB, free: 12.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007578/0.5704, allocations: 0.5915 MB / 0.7096 GB, free: 11.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.5715, allocations: 0.764 MB / 0.7104 GB, free: 10.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.5715, allocations: 4 kB / 0.7104 GB, free: 10.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001769/0.5733, allocations: 0.8948 MB / 0.7112 GB, free: 9.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5733, allocations: 12 kB / 0.7113 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.5733, allocations: 11.94 kB / 0.7113 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.5748, allocations: 276.9 kB / 0.7115 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.5752, allocations: 127.7 kB / 0.7117 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.5763, allocations: 0.8918 MB / 0.7125 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.5767, allocations: 24 kB / 0.7125 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/0.5768, allocations: 44 kB / 0.7126 GB, free: 8.074 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.0003572/0.5772, allocations: 245.5 kB / 0.7128 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.5773, allocations: 63.62 kB / 0.7129 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.5787, allocations: 0.6912 MB / 0.7136 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.5787, allocations: 8 kB / 0.7136 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5787, allocations: 0 / 0.7136 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.5787, allocations: 7.984 kB / 0.7136 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.5808, allocations: 1.172 MB / 0.7147 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.5808, allocations: 7.984 kB / 0.7147 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.5819, allocations: 199.8 kB / 0.7149 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.582, allocations: 24.84 kB / 0.7149 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.5821, allocations: 12 kB / 0.7149 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.5845, allocations: 2.624 MB / 0.7175 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5845, allocations: 320 / 0.7175 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.5861, allocations: 0.9413 MB / 0.7184 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.5864, allocations: 115.6 kB / 0.7185 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.5865, allocations: 15.94 kB / 0.7186 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.5869, allocations: 12 kB / 0.7186 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.587, allocations: 51.86 kB / 0.7186 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.587, allocations: 19.98 kB / 0.7186 GB, free: 1.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004785/0.5875, allocations: 358.8 kB / 0.719 GB, free: 1.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5875, allocations: 0 / 0.719 GB, free: 1.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008561/0.5884, allocations: 227.9 kB / 0.7192 GB, free: 0.9844 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.0004675/0.5888, allocations: 243.1 kB / 0.7194 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.5902, allocations: 0.5833 MB / 0.72 GB, free: 160 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5902, allocations: 3.953 kB / 0.72 GB, free: 156 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.5913, allocations: 427.3 kB / 0.7204 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.001547/0.5929, allocations: 320 kB / 0.7207 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.5955, allocations: 1.426 MB / 0.7221 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.5959, allocations: 341.1 kB / 0.7224 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.5961, allocations: 67.42 kB / 0.7225 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.5961, allocations: 0 / 0.7225 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.2373/0.8333, allocations: 15.48 MB / 0.7376 GB, free: 175.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/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: 11.26124059734866]