Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.000989/0.000989, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.0011/0.0011, allocations: 168.8 kB / 25 MB, free: 8.336 MB / 18.57 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.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3076/0.3076, allocations: 34.25 MB / 296 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.118e-05, allocations: 5.969 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3493/0.3493, allocations: 145.2 MB / 0.5109 GB, free: 18.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3509, allocations: 1.627 MB / 0.5125 GB, free: 17.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.845e-05/0.351, allocations: 2.688 kB / 0.5125 GB, free: 17.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.3514, allocations: 39.84 kB / 0.5125 GB, free: 17.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.3524, allocations: 423.3 kB / 0.513 GB, free: 17.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.3528, allocations: 178 kB / 0.5131 GB, free: 17.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.3531, allocations: 191.4 kB / 0.5133 GB, free: 17.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.3532, allocations: 7.297 kB / 0.5133 GB, free: 17.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.3534, allocations: 100.7 kB / 0.5134 GB, free: 17.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.3535, allocations: 53.53 kB / 0.5135 GB, free: 16.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.3535, allocations: 5.531 kB / 0.5135 GB, free: 16.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009371/0.3545, allocations: 0.5525 MB / 0.514 GB, free: 16.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.3545, allocations: 31.5 kB / 0.514 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.3546, allocations: 42.89 kB / 0.5141 GB, free: 16.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006752/0.3553, allocations: 425 kB / 0.5145 GB, free: 16.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3553, allocations: 5.031 kB / 0.5145 GB, free: 16.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3553, allocations: 0 / 0.5145 GB, free: 16.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.3553, allocations: 3.344 kB / 0.5145 GB, free: 16.64 MB / 410.7 MB 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.0005289/0.3558, allocations: 468.4 kB / 0.5149 GB, free: 16.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3558, allocations: 9.062 kB / 0.5149 GB, free: 16.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.3571, allocations: 213 kB / 0.5151 GB, free: 16.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.3573, allocations: 155.9 kB / 0.5153 GB, free: 16.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3573, allocations: 8.531 kB / 0.5153 GB, free: 16.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.3573, allocations: 20.88 kB / 0.5153 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.3577, allocations: 248.9 kB / 0.5156 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3577, allocations: 0 / 0.5156 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3577, allocations: 10.36 kB / 0.5156 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.3577, allocations: 3 kB / 0.5156 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.3579, allocations: 163.2 kB / 0.5157 GB, free: 15.81 MB / 410.7 MB 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.001021/0.359, allocations: 0.538 MB / 0.5163 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.3592, allocations: 178.4 kB / 0.5164 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/0.3593, allocations: 84.44 kB / 0.5165 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.3594, allocations: 15.39 kB / 0.5165 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.3594, allocations: 36.62 kB / 0.5166 GB, free: 15.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.3594, allocations: 3.562 kB / 0.5166 GB, free: 15.29 MB / 410.7 MB 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.002902/0.3623, allocations: 1.196 MB / 0.5177 GB, free: 14.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.3624, allocations: 61.44 kB / 0.5178 GB, free: 14.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.3624, allocations: 178.6 kB / 0.518 GB, free: 14.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3624, allocations: 27.2 kB / 0.518 GB, free: 14.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.3625, allocations: 143.2 kB / 0.5181 GB, free: 14.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.3625, allocations: 68.16 kB / 0.5182 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.3626, allocations: 53.58 kB / 0.5182 GB, free: 14.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.45e-05/0.3627, allocations: 0.4931 MB / 0.5187 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.625e-05/0.3628, allocations: 70.11 kB / 0.5188 GB, free: 13.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.3629, allocations: 110.8 kB / 0.5189 GB, free: 13.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.3631, allocations: 186.1 kB / 0.5191 GB, free: 13.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3631, allocations: 2.719 kB / 0.5191 GB, free: 13.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003468/0.3634, allocations: 254.6 kB / 0.5193 GB, free: 13.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3634, allocations: 6.625 kB / 0.5193 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3634, allocations: 0 / 0.5193 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.3636, allocations: 26.25 kB / 0.5193 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.3638, allocations: 65.17 kB / 0.5194 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002517/0.3641, allocations: 0.7917 MB / 0.5202 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3642, allocations: 12.3 kB / 0.5202 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.3642, allocations: 5.5 kB / 0.5202 GB, free: 12.61 MB / 410.7 MB 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 8.944e-05/0.3643, allocations: 177.4 kB / 0.5204 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.3644, allocations: 20.06 kB / 0.5204 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.3648, allocations: 284.2 kB / 0.5207 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3648, allocations: 0 / 0.5207 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3648, allocations: 2.375 kB / 0.5207 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3648, allocations: 0 / 0.5207 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/0.3654, allocations: 0.5974 MB / 0.5212 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3654, allocations: 2.938 kB / 0.5212 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.3657, allocations: 43.56 kB / 0.5213 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-05/0.3657, allocations: 29.31 kB / 0.5213 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.3658, allocations: 11.97 kB / 0.5213 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005665/0.3663, allocations: 1.731 MB / 0.523 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3663, allocations: 0 / 0.523 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.3668, allocations: 486 kB / 0.5235 GB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.3668, allocations: 14.09 kB / 0.5235 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.3668, allocations: 6.531 kB / 0.5235 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.367, allocations: 5.469 kB / 0.5235 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.367, allocations: 22.59 kB / 0.5235 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.367, allocations: 15.64 kB / 0.5235 GB, free: 9.746 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.117e-05/0.367, allocations: 131.5 kB / 0.5237 GB, free: 9.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.367, allocations: 0 / 0.5237 GB, free: 9.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004917/0.3675, allocations: 133 kB / 0.5238 GB, free: 9.598 MB / 410.7 MB 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.0005052/0.368, allocations: 259.1 kB / 0.524 GB, free: 9.461 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003612/0.3684, allocations: 204 kB / 0.5242 GB, free: 9.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3684, allocations: 6.656 kB / 0.5242 GB, free: 9.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.3686, allocations: 279.7 kB / 0.5245 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.3689, allocations: 51.09 kB / 0.5246 GB, free: 9.199 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.3699, allocations: 405.4 kB / 0.5249 GB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.3699, allocations: 68.27 kB / 0.525 GB, free: 8.824 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.3701, allocations: 55.77 kB / 0.5251 GB, free: 8.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/0.3702, allocations: 22.28 kB / 0.5251 GB, free: 8.781 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3702, allocations: 0 / 0.5251 GB, free: 8.781 MB / 410.7 MB Notification: Performance of Templates: time 0.008039/0.3782, allocations: 6.41 MB / 0.5313 GB, free: 8.125 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7085260439198464]