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.001742/0.001742, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002014/0.002014, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.538/1.538, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3433/0.3433, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 375.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.926e-05, allocations: 6.25 kB / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3885/0.3885, allocations: 131.5 MB / 0.4949 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.3902, allocations: 1.43 MB / 0.4963 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.3902, allocations: 1.125 kB / 0.4963 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.3906, allocations: 48.23 kB / 0.4964 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.3916, allocations: 425.8 kB / 0.4968 GB, free: 26.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.3921, allocations: 173 kB / 0.4969 GB, free: 26.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.3924, allocations: 187.4 kB / 0.4971 GB, free: 26.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.3924, allocations: 5.281 kB / 0.4971 GB, free: 26.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.3926, allocations: 106.7 kB / 0.4972 GB, free: 25.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3927, allocations: 53.8 kB / 0.4973 GB, free: 25.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3928, allocations: 6.812 kB / 0.4973 GB, free: 25.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.3938, allocations: 0.551 MB / 0.4978 GB, free: 25.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.3938, allocations: 38.55 kB / 0.4978 GB, free: 25.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.3939, allocations: 34.42 kB / 0.4979 GB, free: 25.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007886/0.3947, allocations: 445.8 kB / 0.4983 GB, free: 25.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3947, allocations: 0.7031 kB / 0.4983 GB, free: 25.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3947, allocations: 0 / 0.4983 GB, free: 25.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3947, allocations: 0 / 0.4983 GB, free: 25.61 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.0005704/0.3953, allocations: 368.5 kB / 0.4986 GB, free: 25.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3953, allocations: 9.219 kB / 0.4987 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.3976, allocations: 232.3 kB / 0.4989 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.3979, allocations: 157.4 kB / 0.499 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3979, allocations: 8.062 kB / 0.499 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.3979, allocations: 15.19 kB / 0.4991 GB, free: 25.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.3984, allocations: 275.1 kB / 0.4993 GB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3984, allocations: 0 / 0.4993 GB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.3985, allocations: 5.469 kB / 0.4993 GB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3985, allocations: 3.656 kB / 0.4993 GB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005538/0.399, allocations: 233.3 kB / 0.4995 GB, free: 24.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.001594/0.4006, allocations: 0.5443 MB / 0.5001 GB, free: 24.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.4011, allocations: 188.9 kB / 0.5003 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.4013, allocations: 94.62 kB / 0.5003 GB, free: 24.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.4014, allocations: 12.58 kB / 0.5004 GB, free: 24.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.4014, allocations: 32.12 kB / 0.5004 GB, free: 24.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.4014, allocations: 0 / 0.5004 GB, free: 24.27 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.005686/0.4071, allocations: 1.393 MB / 0.5018 GB, free: 23.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.4071, allocations: 54.22 kB / 0.5018 GB, free: 23.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.4072, allocations: 116.9 kB / 0.5019 GB, free: 23.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.4072, allocations: 31.2 kB / 0.5019 GB, free: 23.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.4073, allocations: 97.08 kB / 0.502 GB, free: 23.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.4073, allocations: 69.11 kB / 0.5021 GB, free: 23.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.479e-05/0.4074, allocations: 45.45 kB / 0.5021 GB, free: 23.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.4075, allocations: 321.7 kB / 0.5025 GB, free: 22.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.4077, allocations: 96.47 kB / 0.5025 GB, free: 22.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.4079, allocations: 133.6 kB / 0.5027 GB, free: 22.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.4084, allocations: 216.7 kB / 0.5029 GB, free: 22.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4084, allocations: 0 / 0.5029 GB, free: 22.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007524/0.4091, allocations: 303.2 kB / 0.5032 GB, free: 22.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4091, allocations: 5.672 kB / 0.5032 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4091, allocations: 1.469 kB / 0.5032 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.4093, allocations: 24.44 kB / 0.5032 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.4098, allocations: 59.94 kB / 0.5033 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002526/0.41, allocations: 0.5362 MB / 0.5038 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.4103, allocations: 6.25 kB / 0.5038 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.4103, allocations: 12.55 kB / 0.5038 GB, free: 21.91 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.0001107/0.4105, allocations: 129.4 kB / 0.5039 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/0.4106, allocations: 25.97 kB / 0.5039 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007498/0.4113, allocations: 317.3 kB / 0.5042 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4113, allocations: 1.594 kB / 0.5042 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4113, allocations: 1.938 kB / 0.5043 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4113, allocations: 0.7031 kB / 0.5043 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.4124, allocations: 0.5905 MB / 0.5048 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4124, allocations: 0 / 0.5048 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.4128, allocations: 48.92 kB / 0.5049 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.4129, allocations: 25.39 kB / 0.5049 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.413, allocations: 9.281 kB / 0.5049 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006765/0.4136, allocations: 1.248 MB / 0.5061 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4137, allocations: 1.641 kB / 0.5061 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.4145, allocations: 465.4 kB / 0.5066 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.4145, allocations: 12.75 kB / 0.5066 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4146, allocations: 5.688 kB / 0.5066 GB, free: 19.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.4149, allocations: 8.547 kB / 0.5066 GB, free: 19.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.415, allocations: 29.52 kB / 0.5066 GB, free: 19.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.415, allocations: 10.5 kB / 0.5066 GB, free: 19.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.868e-05/0.415, allocations: 88.77 kB / 0.5067 GB, free: 19.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.415, allocations: 0 / 0.5067 GB, free: 19.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006679/0.4157, allocations: 134.6 kB / 0.5068 GB, free: 19.51 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.0006914/0.4164, allocations: 267.1 kB / 0.5071 GB, free: 19.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006129/0.417, allocations: 229.4 kB / 0.5073 GB, free: 19.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.417, allocations: 0 / 0.5073 GB, free: 19.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.4174, allocations: 228.5 kB / 0.5075 GB, free: 19.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.4178, allocations: 52.88 kB / 0.5076 GB, free: 19.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.4186, allocations: 407.3 kB / 0.508 GB, free: 18.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.554e-05/0.4187, allocations: 94.09 kB / 0.5081 GB, free: 18.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002946/0.419, allocations: 60.19 kB / 0.5081 GB, free: 18.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.4191, allocations: 23.7 kB / 0.5081 GB, free: 18.72 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4191, allocations: 0 / 0.5081 GB, free: 18.72 MB / 410.7 MB Notification: Performance of Templates: time 0.01026/0.4294, allocations: 6.328 MB / 0.5143 GB, free: 18.18 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/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: 5.3801012840121984]