Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 211.5 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.4 MB / 258.7 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2205/0.2205, allocations: 46.94 MB / 362 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 83.86 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3074, allocations: 66.07 MB / 0.5623 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1828/0.4902, allocations: 150.8 MB / 0.7096 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.4922, allocations: 1.589 MB / 0.7112 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.4923, allocations: 3.938 kB / 0.7112 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.4926, allocations: 59.66 kB / 0.7112 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000915/0.4935, allocations: 418 kB / 0.7116 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.494, allocations: 181.4 kB / 0.7118 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.4942, allocations: 179.3 kB / 0.712 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.4942, allocations: 15.86 kB / 0.712 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.4944, allocations: 83.69 kB / 0.7121 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.4946, allocations: 59.75 kB / 0.7121 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.4946, allocations: 12 kB / 0.7121 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009794/0.4956, allocations: 0.5495 MB / 0.7127 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.4956, allocations: 31.84 kB / 0.7127 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.566e-05/0.4957, allocations: 55.78 kB / 0.7128 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006273/0.4963, allocations: 398.6 kB / 0.7131 GB, free: 9.211 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4963, allocations: 0 / 0.7131 GB, free: 9.211 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4963, allocations: 0 / 0.7131 GB, free: 9.211 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.4963, allocations: 7.938 kB / 0.7131 GB, free: 9.203 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.0005559/0.4969, allocations: 361.8 kB / 0.7135 GB, free: 8.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.4969, allocations: 12.03 kB / 0.7135 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.499, allocations: 196.6 kB / 0.7137 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.4993, allocations: 154 kB / 0.7138 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.4993, allocations: 11.94 kB / 0.7138 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.4993, allocations: 8 kB / 0.7138 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.4999, allocations: 282.6 kB / 0.7141 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4999, allocations: 0 / 0.7141 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.4999, allocations: 4 kB / 0.7141 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4999, allocations: 3.938 kB / 0.7141 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.5005, allocations: 231.9 kB / 0.7143 GB, free: 7.887 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.001718/0.5023, allocations: 0.6096 MB / 0.7149 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.5027, allocations: 186.5 kB / 0.7151 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.5029, allocations: 88.81 kB / 0.7152 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.503, allocations: 8 kB / 0.7152 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.5031, allocations: 42.56 kB / 0.7153 GB, free: 6.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.5031, allocations: 0 / 0.7153 GB, free: 6.895 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.005595/0.5087, allocations: 1.395 MB / 0.7166 GB, free: 5.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.5087, allocations: 59.34 kB / 0.7167 GB, free: 5.352 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.5088, allocations: 105.8 kB / 0.7168 GB, free: 5.238 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.5089, allocations: 33.7 kB / 0.7168 GB, free: 5.199 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.5089, allocations: 92.42 kB / 0.7169 GB, free: 5.105 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.509, allocations: 75.3 kB / 0.717 GB, free: 5.031 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.5091, allocations: 45.7 kB / 0.717 GB, free: 4.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5093, allocations: 322.8 kB / 0.7173 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.5095, allocations: 87.95 kB / 0.7174 GB, free: 4.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.5097, allocations: 123.4 kB / 0.7175 GB, free: 4.438 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.5103, allocations: 238.2 kB / 0.7177 GB, free: 4.195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.5103, allocations: 0 / 0.7177 GB, free: 4.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006551/0.5109, allocations: 282.3 kB / 0.718 GB, free: 3.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5109, allocations: 10.59 kB / 0.718 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5109, allocations: 0 / 0.718 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/0.5111, allocations: 28.78 kB / 0.7181 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.5115, allocations: 51.95 kB / 0.7181 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004401/0.512, allocations: 0.5328 MB / 0.7186 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.5122, allocations: 20.05 kB / 0.7186 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.5123, allocations: 8.312 kB / 0.7186 GB, free: 3.234 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.0001318/0.5124, allocations: 117.8 kB / 0.7188 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.5125, allocations: 11.95 kB / 0.7188 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007963/0.5133, allocations: 325.4 kB / 0.7191 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5133, allocations: 4 kB / 0.7191 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5133, allocations: 0 / 0.7191 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5133, allocations: 7.969 kB / 0.7191 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.5145, allocations: 0.6435 MB / 0.7197 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5145, allocations: 4 kB / 0.7197 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.5149, allocations: 51.89 kB / 0.7198 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.768e-05/0.515, allocations: 20.84 kB / 0.7198 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.515, allocations: 8 kB / 0.7198 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.5161, allocations: 1.267 MB / 0.721 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5161, allocations: 4.031 kB / 0.721 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000917/0.517, allocations: 450.7 kB / 0.7215 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.517, allocations: 11.97 kB / 0.7215 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.517, allocations: 8 kB / 0.7215 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.5174, allocations: 7.938 kB / 0.7215 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.5174, allocations: 19.97 kB / 0.7215 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.5174, allocations: 11.98 kB / 0.7215 GB, free: 56 kB / 0.545 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.5175, allocations: 87.27 kB / 0.7216 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5175, allocations: 4.062 kB / 0.7216 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005408/0.518, allocations: 131.7 kB / 0.7217 GB, free: 15.84 MB / 0.5606 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.0006266/0.5187, allocations: 258.7 kB / 0.722 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006637/0.5193, allocations: 231.6 kB / 0.7222 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5193, allocations: 0 / 0.7222 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.5197, allocations: 230.9 kB / 0.7224 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.5202, allocations: 54.36 kB / 0.7225 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009012/0.5211, allocations: 494.2 kB / 0.723 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.5214, allocations: 0.7047 MB / 0.7236 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002711/0.5217, allocations: 49.39 kB / 0.7237 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.5218, allocations: 23.42 kB / 0.7237 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.5218, allocations: 3.938 kB / 0.7237 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.01116/0.533, allocations: 6.364 MB / 0.7299 GB, free: 7.375 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.353065263014287]