Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001512/0.001512, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001581/0.001581, allocations: 165.1 kB / 23.96 MB, free: 4.164 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.412/1.412, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.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.1973/0.1973, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,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.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.417e-05, allocations: 2.281 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3773/0.3773, allocations: 153.8 MB / 0.58 GB, free: 124 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007486/0.3848, allocations: 4.913 MB / 0.5848 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004084/0.3852, allocations: 31.69 kB / 0.5848 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.3861, allocations: 305.9 kB / 0.5851 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.3892, allocations: 1.325 MB / 0.5864 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.3915, allocations: 1.015 MB / 0.5874 GB, free: 8.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.3936, allocations: 1.883 MB / 0.5892 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006057/0.3942, allocations: 401.5 kB / 0.5896 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.3966, allocations: 1.34 MB / 0.5909 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.3976, allocations: 0.639 MB / 0.5916 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.3978, allocations: 60 kB / 0.5916 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.399, allocations: 0.5607 MB / 0.5922 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.3993, allocations: 287.1 kB / 0.5924 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.3996, allocations: 279.4 kB / 0.5927 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.4018, allocations: 1.383 MB / 0.5941 GB, free: 1.703 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4018, allocations: 4 kB / 0.5941 GB, free: 1.699 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4018, allocations: 0 / 0.5941 GB, free: 1.699 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.4018, allocations: 0 / 0.5941 GB, free: 1.699 MB / 494.1 MB 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.002395/0.4042, allocations: 1.041 MB / 0.5951 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4042, allocations: 8.031 kB / 0.5951 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008512/0.4051, allocations: 139.5 kB / 0.5952 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009314/0.406, allocations: 481.3 kB / 0.5957 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.4062, allocations: 159.7 kB / 0.5958 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.4063, allocations: 44 kB / 0.5959 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.4079, allocations: 1.148 MB / 0.597 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.4079, allocations: 3.938 kB / 0.597 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-05/0.408, allocations: 24 kB / 0.597 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/0.408, allocations: 36.98 kB / 0.597 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.4092, allocations: 0.6205 MB / 0.5977 GB, free: 13.77 MB / 0.4981 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.004309/0.4135, allocations: 3.22 MB / 0.6008 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006257/0.4141, allocations: 343.1 kB / 0.6011 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.4144, allocations: 157.3 kB / 0.6013 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.4145, allocations: 16.27 kB / 0.6013 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.4145, allocations: 38.84 kB / 0.6013 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.4145, allocations: 0 / 0.6013 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.005711/0.4203, allocations: 1.601 MB / 0.6029 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.4203, allocations: 132.5 kB / 0.603 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/0.4209, allocations: 0.5338 MB / 0.6035 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.421, allocations: 33.7 kB / 0.6036 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.4213, allocations: 384.2 kB / 0.6039 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.4214, allocations: 150.7 kB / 0.6041 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.4217, allocations: 158.6 kB / 0.6042 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4219, allocations: 370.7 kB / 0.6046 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.4222, allocations: 206.8 kB / 0.6048 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006772/0.4229, allocations: 0.5841 MB / 0.6054 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.424, allocations: 0.7487 MB / 0.6061 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.424, allocations: 4 kB / 0.6061 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001541/0.4255, allocations: 0.8803 MB / 0.6069 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4256, allocations: 8 kB / 0.607 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.4256, allocations: 12.09 kB / 0.607 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.427, allocations: 309.3 kB / 0.6073 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.4274, allocations: 127.8 kB / 0.6074 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.4286, allocations: 0.9347 MB / 0.6083 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.429, allocations: 24 kB / 0.6083 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.775e-05/0.4291, allocations: 71.98 kB / 0.6084 GB, free: 2.184 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003324/0.4294, allocations: 237.7 kB / 0.6086 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.4295, allocations: 71.52 kB / 0.6087 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.4312, allocations: 0.8657 MB / 0.6095 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4312, allocations: 4 kB / 0.6095 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.4312, allocations: 4 kB / 0.6095 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4312, allocations: 3.984 kB / 0.6095 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.4331, allocations: 1.079 MB / 0.6106 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4331, allocations: 3.984 kB / 0.6106 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.4342, allocations: 207.8 kB / 0.6108 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.36e-05/0.4343, allocations: 24.84 kB / 0.6108 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.4344, allocations: 23.98 kB / 0.6108 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.4365, allocations: 2.629 MB / 0.6134 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4365, allocations: 320 / 0.6134 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.4379, allocations: 0.8143 MB / 0.6142 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.4381, allocations: 103.6 kB / 0.6143 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.4382, allocations: 8 kB / 0.6143 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.4386, allocations: 23.92 kB / 0.6143 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4387, allocations: 39.88 kB / 0.6144 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/0.4387, allocations: 43.98 kB / 0.6144 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004294/0.4392, allocations: 362.8 kB / 0.6148 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4392, allocations: 0 / 0.6148 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008505/0.44, allocations: 251.8 kB / 0.615 GB, free: 11.09 MB / 0.5137 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006727/0.4407, allocations: 294.7 kB / 0.6153 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.4418, allocations: 0.5316 MB / 0.6158 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4418, allocations: 7.953 kB / 0.6158 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.4429, allocations: 406.3 kB / 0.6162 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.4443, allocations: 312 kB / 0.6165 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.4463, allocations: 1.241 MB / 0.6177 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.4466, allocations: 336.3 kB / 0.618 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009119/0.4476, allocations: 441.3 kB / 0.6184 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.4479, allocations: 112.4 kB / 0.6186 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of SimCode: time 7.72e-07/0.4479, allocations: 4 kB / 0.6186 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of Templates: time 0.02865/0.4765, allocations: 15.65 MB / 0.6338 GB, free: 7.953 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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: 5.6377962827682495]