Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001874/0.001874, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00242/0.00242, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 8 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.2203/0.2203, allocations: 44.91 MB / 359.6 MB, free: 6.289 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.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [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.002104/0.002104, allocations: 67.89 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3076, allocations: 65.46 MB / 0.5582 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1841/0.4917, allocations: 152.9 MB / 0.7076 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.4939, allocations: 1.604 MB / 0.7092 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.4939, allocations: 7.938 kB / 0.7092 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.4942, allocations: 47.72 kB / 0.7092 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.4953, allocations: 414.1 kB / 0.7096 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.4958, allocations: 179.1 kB / 0.7098 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.496, allocations: 191.2 kB / 0.71 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.4961, allocations: 3.938 kB / 0.71 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.4963, allocations: 79.75 kB / 0.71 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.4964, allocations: 63.75 kB / 0.7101 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.4964, allocations: 4 kB / 0.7101 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.4976, allocations: 0.6352 MB / 0.7107 GB, free: 11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.4977, allocations: 31.95 kB / 0.7107 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.4977, allocations: 47.73 kB / 0.7108 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.4984, allocations: 413.6 kB / 0.7112 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4984, allocations: 7.984 kB / 0.7112 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4984, allocations: 0 / 0.7112 GB, free: 10.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.4984, allocations: 0 / 0.7112 GB, free: 10.52 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005979/0.499, allocations: 361.7 kB / 0.7115 GB, free: 10.13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.499, allocations: 8.031 kB / 0.7115 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.5013, allocations: 196.6 kB / 0.7117 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.5015, allocations: 162 kB / 0.7119 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.5015, allocations: 8 kB / 0.7119 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.5016, allocations: 8 kB / 0.7119 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.5021, allocations: 203 kB / 0.7121 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5021, allocations: 0 / 0.7121 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.5021, allocations: 4 kB / 0.7121 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.5021, allocations: 7.938 kB / 0.7121 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006259/0.5028, allocations: 235.8 kB / 0.7123 GB, free: 9.289 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.001795/0.5046, allocations: 0.5979 MB / 0.7129 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.505, allocations: 186.5 kB / 0.7131 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.5053, allocations: 96.81 kB / 0.7132 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.5054, allocations: 15.97 kB / 0.7132 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.5054, allocations: 38.5 kB / 0.7132 GB, free: 8.297 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.5054, allocations: 0 / 0.7132 GB, free: 8.297 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005756/0.5112, allocations: 1.397 MB / 0.7146 GB, free: 6.824 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.5112, allocations: 51.41 kB / 0.7147 GB, free: 6.762 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.5113, allocations: 117.8 kB / 0.7148 GB, free: 6.637 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.5114, allocations: 25.7 kB / 0.7148 GB, free: 6.605 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.5114, allocations: 104.4 kB / 0.7149 GB, free: 6.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.5115, allocations: 67.38 kB / 0.715 GB, free: 6.434 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.5116, allocations: 49.62 kB / 0.715 GB, free: 6.379 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5117, allocations: 322.8 kB / 0.7153 GB, free: 6.055 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.512, allocations: 91.94 kB / 0.7154 GB, free: 5.965 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.5122, allocations: 121 kB / 0.7155 GB, free: 5.836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.5127, allocations: 230.6 kB / 0.7157 GB, free: 5.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5127, allocations: 8 kB / 0.7157 GB, free: 5.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006342/0.5133, allocations: 278.2 kB / 0.716 GB, free: 5.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5134, allocations: 8 kB / 0.716 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.5134, allocations: 4 kB / 0.716 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.5135, allocations: 24.84 kB / 0.716 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.514, allocations: 52.05 kB / 0.7161 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000432/0.5144, allocations: 0.5406 MB / 0.7166 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.5147, allocations: 11.97 kB / 0.7166 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.5147, allocations: 8 kB / 0.7166 GB, free: 4.637 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.5149, allocations: 125.8 kB / 0.7168 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.5149, allocations: 16.05 kB / 0.7168 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007519/0.5157, allocations: 307 kB / 0.7171 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5157, allocations: 4 kB / 0.7171 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5157, allocations: 4 kB / 0.7171 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.5157, allocations: 0 / 0.7171 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.5169, allocations: 0.6435 MB / 0.7177 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5169, allocations: 4 kB / 0.7177 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/0.5173, allocations: 59.98 kB / 0.7178 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.195e-05/0.5174, allocations: 20.78 kB / 0.7178 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.5174, allocations: 11.98 kB / 0.7178 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.5185, allocations: 1.263 MB / 0.719 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5185, allocations: 0 / 0.719 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009035/0.5194, allocations: 456.1 kB / 0.7195 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.5194, allocations: 7.984 kB / 0.7195 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.5195, allocations: 8 kB / 0.7195 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.5198, allocations: 7.984 kB / 0.7195 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.5198, allocations: 24.03 kB / 0.7195 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.5199, allocations: 4 kB / 0.7195 GB, free: 1.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.747e-05/0.5199, allocations: 91.27 kB / 0.7196 GB, free: 1.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5199, allocations: 0 / 0.7196 GB, free: 1.375 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005386/0.5205, allocations: 135.7 kB / 0.7197 GB, free: 1.242 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * 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): 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.0006538/0.5211, allocations: 266.6 kB / 0.72 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006449/0.5218, allocations: 241.7 kB / 0.7202 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5218, allocations: 0 / 0.7202 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.5222, allocations: 224.9 kB / 0.7204 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.5226, allocations: 48.67 kB / 0.7205 GB, free: 472 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/0.5236, allocations: 0.501 MB / 0.721 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.524, allocations: 0.7086 MB / 0.7217 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.5241, allocations: 27.42 kB / 0.7217 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.5241, allocations: 0 / 0.7217 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.008861/0.533, allocations: 5.206 MB / 0.7268 GB, free: 9.949 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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: 8.834278737194836]