Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.001166/0.001166, 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.001213/0.001213, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.3275/0.3275, allocations: 32.81 MB / 294.6 MB, free: 1.289 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 376 MB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.282e-05, allocations: 2.312 kB / 376 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3408/0.3409, allocations: 145 MB / 0.5087 GB, free: 20.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3419, allocations: 0.9731 MB / 0.5097 GB, free: 19.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.246e-05/0.342, allocations: 0 / 0.5097 GB, free: 19.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.3423, allocations: 32.12 kB / 0.5097 GB, free: 19.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.343, allocations: 246.3 kB / 0.51 GB, free: 19.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.3433, allocations: 127.2 kB / 0.5101 GB, free: 19.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.3436, allocations: 164.6 kB / 0.5102 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.3436, allocations: 12.34 kB / 0.5103 GB, free: 19.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.3439, allocations: 118.4 kB / 0.5104 GB, free: 19.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.651e-05/0.344, allocations: 44.25 kB / 0.5104 GB, free: 19.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.344, allocations: 5.219 kB / 0.5104 GB, free: 19.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.3445, allocations: 261.8 kB / 0.5107 GB, free: 18.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.3446, allocations: 24.17 kB / 0.5107 GB, free: 18.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.3446, allocations: 31.66 kB / 0.5107 GB, free: 18.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.3451, allocations: 306 kB / 0.511 GB, free: 18.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3451, allocations: 0 / 0.511 GB, free: 18.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3451, allocations: 0 / 0.511 GB, free: 18.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3451, allocations: 3.938 kB / 0.511 GB, free: 18.86 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004217/0.3455, allocations: 443.6 kB / 0.5114 GB, free: 18.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3455, allocations: 8.844 kB / 0.5114 GB, free: 18.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.3467, allocations: 216.8 kB / 0.5116 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.3469, allocations: 143.5 kB / 0.5118 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3469, allocations: 11.55 kB / 0.5118 GB, free: 18.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.347, allocations: 16.28 kB / 0.5118 GB, free: 18.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.3473, allocations: 295.6 kB / 0.5121 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.3473, allocations: 0 / 0.5121 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.3474, allocations: 7.312 kB / 0.5121 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3474, allocations: 0 / 0.5121 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.3476, allocations: 125.4 kB / 0.5122 GB, free: 18.04 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.0006848/0.3483, allocations: 0.6301 MB / 0.5128 GB, free: 17.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3485, allocations: 128.3 kB / 0.513 GB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.927e-05/0.3486, allocations: 57.31 kB / 0.513 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.3486, allocations: 11.38 kB / 0.513 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.3486, allocations: 40.05 kB / 0.5131 GB, free: 17.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3486, allocations: 0 / 0.5131 GB, free: 17.33 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.002618/0.3512, allocations: 0.9789 MB / 0.514 GB, free: 16.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.3513, allocations: 54.38 kB / 0.5141 GB, free: 16.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.3513, allocations: 167.5 kB / 0.5142 GB, free: 16.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3513, allocations: 32.61 kB / 0.5143 GB, free: 16.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.3514, allocations: 146.1 kB / 0.5144 GB, free: 16.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.3514, allocations: 73.69 kB / 0.5145 GB, free: 16.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.3515, allocations: 57.53 kB / 0.5145 GB, free: 16.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.3515, allocations: 0.4887 MB / 0.515 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.185e-05/0.3516, allocations: 48.98 kB / 0.515 GB, free: 15.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.3517, allocations: 98.67 kB / 0.5151 GB, free: 15.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.3519, allocations: 150.3 kB / 0.5153 GB, free: 15.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3519, allocations: 2.531 kB / 0.5153 GB, free: 15.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002617/0.3521, allocations: 216.4 kB / 0.5155 GB, free: 15.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3521, allocations: 6.156 kB / 0.5155 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3521, allocations: 2.938 kB / 0.5155 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/0.3523, allocations: 37.55 kB / 0.5155 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.3525, allocations: 53.25 kB / 0.5156 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002479/0.3527, allocations: 0.8086 MB / 0.5164 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.3528, allocations: 11.64 kB / 0.5164 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.3528, allocations: 19.95 kB / 0.5164 GB, free: 14.81 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 7.732e-05/0.3529, allocations: 167.9 kB / 0.5166 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.3529, allocations: 12.83 kB / 0.5166 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.3533, allocations: 282.5 kB / 0.5169 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3533, allocations: 0 / 0.5169 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3533, allocations: 3.812 kB / 0.5169 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3534, allocations: 10.88 kB / 0.5169 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.3539, allocations: 0.545 MB / 0.5174 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3539, allocations: 3.938 kB / 0.5174 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3541, allocations: 50.41 kB / 0.5175 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.293e-05/0.3541, allocations: 30.84 kB / 0.5175 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.3542, allocations: 8.766 kB / 0.5175 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005043/0.3547, allocations: 1.728 MB / 0.5192 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3547, allocations: 3.938 kB / 0.5192 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.355, allocations: 442.8 kB / 0.5196 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.355, allocations: 6.734 kB / 0.5196 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.355, allocations: 6.719 kB / 0.5196 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3551, allocations: 4.766 kB / 0.5196 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.3552, allocations: 33.09 kB / 0.5197 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.3552, allocations: 17.94 kB / 0.5197 GB, free: 12.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.519e-05/0.3552, allocations: 129 kB / 0.5198 GB, free: 11.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3552, allocations: 0 / 0.5198 GB, free: 11.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003183/0.3556, allocations: 82.73 kB / 0.5199 GB, free: 11.88 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 (20): * Single equations (assignments): 19 * 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.0002704/0.3558, allocations: 152.5 kB / 0.52 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.3561, allocations: 177.5 kB / 0.5202 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3561, allocations: 0 / 0.5202 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.3563, allocations: 269.7 kB / 0.5204 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.3566, allocations: 57.52 kB / 0.5205 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/0.3574, allocations: 392.6 kB / 0.5209 GB, free: 11.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.67e-05/0.3574, allocations: 69.53 kB / 0.5209 GB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000167/0.3576, allocations: 64.88 kB / 0.521 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/0.3577, allocations: 46.59 kB / 0.521 GB, free: 11.1 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3577, allocations: 0 / 0.521 GB, free: 11.1 MB / 410.7 MB Notification: Performance of Templates: time 0.007276/0.365, allocations: 5.347 MB / 0.5263 GB, free: 10.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.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.7815324058756232]