Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00187/0.00187, allocations: 92.27 kB / 20.96 MB, free: 3.441 MB / 18.57 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.002264/0.002264, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 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.555/1.555, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4385/0.4385, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.144e-05, allocations: 2.312 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3335/0.3335, allocations: 131.6 MB / 0.4968 GB, free: 25.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3355, allocations: 1.437 MB / 0.4982 GB, free: 24.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.3356, allocations: 0 / 0.4982 GB, free: 24.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.336, allocations: 42.55 kB / 0.4983 GB, free: 24.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.3371, allocations: 421.1 kB / 0.4987 GB, free: 24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.3376, allocations: 184.9 kB / 0.4988 GB, free: 23.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.3379, allocations: 188.9 kB / 0.499 GB, free: 23.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.338, allocations: 3.938 kB / 0.499 GB, free: 23.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.3382, allocations: 102.3 kB / 0.4991 GB, free: 23.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.3383, allocations: 55.41 kB / 0.4992 GB, free: 23.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3383, allocations: 5.188 kB / 0.4992 GB, free: 23.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.3395, allocations: 0.548 MB / 0.4997 GB, free: 23.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.3395, allocations: 30.12 kB / 0.4997 GB, free: 23.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.026e-05/0.3396, allocations: 41.59 kB / 0.4998 GB, free: 23.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007588/0.3404, allocations: 450.3 kB / 0.5002 GB, free: 23.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3404, allocations: 1.188 kB / 0.5002 GB, free: 23.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3404, allocations: 0 / 0.5002 GB, free: 23.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3404, allocations: 0 / 0.5002 GB, free: 23.42 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.0005675/0.341, allocations: 359.5 kB / 0.5006 GB, free: 23.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.341, allocations: 10.53 kB / 0.5006 GB, free: 23.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.3433, allocations: 235.8 kB / 0.5008 GB, free: 23.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.3436, allocations: 157.7 kB / 0.5009 GB, free: 22.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3436, allocations: 8.344 kB / 0.501 GB, free: 22.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.3437, allocations: 15.12 kB / 0.501 GB, free: 22.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.3442, allocations: 274.7 kB / 0.5012 GB, free: 22.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3442, allocations: 1.125 kB / 0.5012 GB, free: 22.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.3443, allocations: 5.188 kB / 0.5012 GB, free: 22.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3443, allocations: 2.469 kB / 0.5012 GB, free: 22.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.3448, allocations: 238.6 kB / 0.5015 GB, free: 22.62 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.001686/0.3465, allocations: 0.5367 MB / 0.502 GB, free: 22.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.347, allocations: 183.5 kB / 0.5022 GB, free: 22.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.3472, allocations: 94.67 kB / 0.5023 GB, free: 22.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.3474, allocations: 16.86 kB / 0.5023 GB, free: 22.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.3474, allocations: 37.56 kB / 0.5023 GB, free: 22.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3474, allocations: 0 / 0.5023 GB, free: 22.09 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.005821/0.3532, allocations: 1.382 MB / 0.5037 GB, free: 21.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.3532, allocations: 54.91 kB / 0.5037 GB, free: 21.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3533, allocations: 124.5 kB / 0.5038 GB, free: 21.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.3534, allocations: 31.86 kB / 0.5039 GB, free: 21.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.3534, allocations: 96.69 kB / 0.504 GB, free: 21.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.021e-05/0.3535, allocations: 72.84 kB / 0.504 GB, free: 21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.3536, allocations: 46.72 kB / 0.5041 GB, free: 20.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.715e-05/0.3537, allocations: 320.5 kB / 0.5044 GB, free: 20.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.3539, allocations: 93 kB / 0.5045 GB, free: 20.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.3541, allocations: 128 kB / 0.5046 GB, free: 20.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.3546, allocations: 220.7 kB / 0.5048 GB, free: 20.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3546, allocations: 0 / 0.5048 GB, free: 20.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006786/0.3553, allocations: 296.8 kB / 0.5051 GB, free: 20.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.3553, allocations: 6.766 kB / 0.5051 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3553, allocations: 1.531 kB / 0.5051 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.3555, allocations: 34.34 kB / 0.5051 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.356, allocations: 53.45 kB / 0.5052 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003021/0.3563, allocations: 0.5341 MB / 0.5057 GB, free: 19.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.3565, allocations: 16.3 kB / 0.5057 GB, free: 19.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.3566, allocations: 6.922 kB / 0.5057 GB, free: 19.73 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 0.0001078/0.3567, allocations: 125.8 kB / 0.5058 GB, free: 19.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.3568, allocations: 25.38 kB / 0.5059 GB, free: 19.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007672/0.3576, allocations: 322.1 kB / 0.5062 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3576, allocations: 2.75 kB / 0.5062 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3576, allocations: 0.75 kB / 0.5062 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3576, allocations: 2.172 kB / 0.5062 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3586, allocations: 0.5914 MB / 0.5067 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3586, allocations: 0 / 0.5067 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.3591, allocations: 60.64 kB / 0.5068 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.3592, allocations: 18.94 kB / 0.5068 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.3592, allocations: 12.66 kB / 0.5068 GB, free: 18.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006877/0.3599, allocations: 1.236 MB / 0.508 GB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3599, allocations: 5.531 kB / 0.508 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008802/0.3608, allocations: 458.9 kB / 0.5085 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.3608, allocations: 16.73 kB / 0.5085 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.3608, allocations: 3.453 kB / 0.5085 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.3611, allocations: 11.33 kB / 0.5085 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.3612, allocations: 18.61 kB / 0.5085 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.3612, allocations: 12.62 kB / 0.5085 GB, free: 17.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.3613, allocations: 93.77 kB / 0.5086 GB, free: 17.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3613, allocations: 0 / 0.5086 GB, free: 17.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007115/0.362, allocations: 134 kB / 0.5088 GB, free: 17.33 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.0006897/0.3627, allocations: 254.3 kB / 0.509 GB, free: 17.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006313/0.3633, allocations: 231.2 kB / 0.5092 GB, free: 17.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3633, allocations: 0 / 0.5092 GB, free: 17.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.3637, allocations: 230.2 kB / 0.5094 GB, free: 16.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.3642, allocations: 58.77 kB / 0.5095 GB, free: 16.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000749/0.3649, allocations: 415.3 kB / 0.5099 GB, free: 16.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.946e-05/0.365, allocations: 94.38 kB / 0.51 GB, free: 16.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002898/0.3653, allocations: 51.64 kB / 0.51 GB, free: 16.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.3654, allocations: 26.17 kB / 0.5101 GB, free: 16.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3654, allocations: 0 / 0.5101 GB, free: 16.54 MB / 410.7 MB Notification: Performance of Templates: time 0.01074/0.3762, allocations: 6.318 MB / 0.5162 GB, free: 16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.561815252061933]