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.001125/0.001125, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001749/0.001749, allocations: 165 kB / 24.56 MB, free: 16 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 0.9465/0.9465, allocations: 177.1 MB / 205 MB, free: 5.301 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.3312/0.3312, allocations: 32.81 MB / 294.3 MB, free: 1.238 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 1.553e-06/1.553e-06, allocations: 0 / 376 MB, free: 4.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.474e-05, allocations: 6.25 kB / 376 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3374/0.3374, allocations: 145.3 MB / 0.509 GB, free: 19.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3388, allocations: 0.9704 MB / 0.51 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.3389, allocations: 0 / 0.51 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.3392, allocations: 34.95 kB / 0.51 GB, free: 19.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009406/0.3402, allocations: 249.1 kB / 0.5103 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.3406, allocations: 119 kB / 0.5104 GB, free: 18.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.3409, allocations: 174.8 kB / 0.5105 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.341, allocations: 15.52 kB / 0.5106 GB, free: 18.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.3413, allocations: 109.5 kB / 0.5107 GB, free: 18.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3414, allocations: 49.52 kB / 0.5107 GB, free: 18.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.3414, allocations: 5.031 kB / 0.5107 GB, free: 18.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006202/0.342, allocations: 256.7 kB / 0.511 GB, free: 18.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.3421, allocations: 21.33 kB / 0.511 GB, free: 18.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.3422, allocations: 34.05 kB / 0.511 GB, free: 18.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.3427, allocations: 305.6 kB / 0.5113 GB, free: 18.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3427, allocations: 6.875 kB / 0.5113 GB, free: 18.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3427, allocations: 4 kB / 0.5113 GB, free: 18.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3427, allocations: 0 / 0.5113 GB, free: 18.62 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.0006012/0.3433, allocations: 433 kB / 0.5117 GB, free: 18.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.3434, allocations: 9.531 kB / 0.5117 GB, free: 18.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.3452, allocations: 216.7 kB / 0.5119 GB, free: 18.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3455, allocations: 144.2 kB / 0.5121 GB, free: 18.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.3455, allocations: 12.66 kB / 0.5121 GB, free: 18.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.3455, allocations: 9.594 kB / 0.5121 GB, free: 18.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.3461, allocations: 295.8 kB / 0.5124 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3461, allocations: 2.375 kB / 0.5124 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.3461, allocations: 4 kB / 0.5124 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3461, allocations: 3.781 kB / 0.5124 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.3464, allocations: 130.1 kB / 0.5125 GB, free: 17.8 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.0008732/0.3473, allocations: 0.6294 MB / 0.5131 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.3476, allocations: 129.3 kB / 0.5133 GB, free: 17.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3477, allocations: 67.67 kB / 0.5133 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.3477, allocations: 7.031 kB / 0.5133 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3477, allocations: 41 kB / 0.5134 GB, free: 17.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/0.3477, allocations: 0 / 0.5134 GB, free: 17.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.003663/0.3514, allocations: 0.9651 MB / 0.5143 GB, free: 16.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.3514, allocations: 58.12 kB / 0.5144 GB, free: 16.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.3515, allocations: 168 kB / 0.5145 GB, free: 16.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3515, allocations: 32.73 kB / 0.5145 GB, free: 16.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.3516, allocations: 143.8 kB / 0.5147 GB, free: 16.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.3516, allocations: 65.41 kB / 0.5147 GB, free: 16.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.875e-05/0.3517, allocations: 61.77 kB / 0.5148 GB, free: 16.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.3518, allocations: 0.4899 MB / 0.5153 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.3519, allocations: 53.75 kB / 0.5153 GB, free: 15.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.352, allocations: 93.33 kB / 0.5154 GB, free: 15.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.3523, allocations: 157.8 kB / 0.5156 GB, free: 15.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3523, allocations: 0 / 0.5156 GB, free: 15.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003941/0.3527, allocations: 215 kB / 0.5158 GB, free: 15.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3527, allocations: 6.875 kB / 0.5158 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.3527, allocations: 3.203 kB / 0.5158 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.3529, allocations: 37.03 kB / 0.5158 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.3531, allocations: 53.08 kB / 0.5159 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003251/0.3535, allocations: 0.8078 MB / 0.5167 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.3536, allocations: 8.438 kB / 0.5167 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.3536, allocations: 23.09 kB / 0.5167 GB, free: 14.58 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.0001037/0.3537, allocations: 168.9 kB / 0.5169 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.3538, allocations: 15.84 kB / 0.5169 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005533/0.3543, allocations: 274.4 kB / 0.5171 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3543, allocations: 4 kB / 0.5171 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3543, allocations: 2.812 kB / 0.5171 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3544, allocations: 6 kB / 0.5171 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007315/0.3551, allocations: 0.5533 MB / 0.5177 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3551, allocations: 7.125 kB / 0.5177 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.3553, allocations: 50.27 kB / 0.5177 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.3555, allocations: 32.14 kB / 0.5178 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.3555, allocations: 9.953 kB / 0.5178 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007272/0.3562, allocations: 1.725 MB / 0.5195 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3562, allocations: 0 / 0.5195 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.3567, allocations: 436 kB / 0.5199 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.3567, allocations: 20.61 kB / 0.5199 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.3568, allocations: 6.656 kB / 0.5199 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.3569, allocations: 2.75 kB / 0.5199 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.357, allocations: 28 kB / 0.5199 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.357, allocations: 16.41 kB / 0.52 GB, free: 11.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.661e-05/0.357, allocations: 133.8 kB / 0.5201 GB, free: 11.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.357, allocations: 0 / 0.5201 GB, free: 11.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004351/0.3575, allocations: 77.72 kB / 0.5202 GB, free: 11.64 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.0003528/0.3578, allocations: 158 kB / 0.5203 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.3582, allocations: 169 kB / 0.5205 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3582, allocations: 4.188 kB / 0.5205 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.3585, allocations: 270.6 kB / 0.5207 GB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.3589, allocations: 54.42 kB / 0.5208 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3602, allocations: 404.5 kB / 0.5212 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.3603, allocations: 69.34 kB / 0.5212 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002576/0.3605, allocations: 65.67 kB / 0.5213 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.3607, allocations: 39.2 kB / 0.5213 GB, free: 10.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.3607, allocations: 3.938 kB / 0.5213 GB, free: 10.86 MB / 410.7 MB Notification: Performance of Templates: time 0.01086/0.3715, allocations: 5.882 MB / 0.5271 GB, free: 10.28 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.5271619828417897]