Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.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.0008258/0.0008258, allocations: 79.75 kB / 20.11 MB, free: 4.137 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.0008993/0.0008993, allocations: 172.4 kB / 23.56 MB, free: 0.6914 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 0.8447/0.8447, allocations: 177.2 MB / 204 MB, free: 5.387 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04507/0.04507, allocations: 11.69 MB / 272.2 MB, free: 1.812 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0.75 kB / 291.5 MB, free: 17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.828e-06/1.152e-05, allocations: 4.344 kB / 291.5 MB, free: 17 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState): time 0.0363/0.03631, allocations: 59.08 MB / 350.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03234/0.06865, allocations: 53.97 MB / 404.6 MB, free: 6.828 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.06879, allocations: 8 kB / 404.6 MB, free: 6.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.06949, allocations: 362.3 kB / 405 MB, free: 6.465 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02583/0.09532, allocations: 16.15 MB / 421.1 MB, free: 6.234 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009875/0.1052, allocations: 6.537 MB / 427.6 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.1505/0.2557, allocations: 59.14 MB / 486.8 MB, free: 38.21 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/0.2558, allocations: 21.53 kB / 486.8 MB, free: 38.2 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.2561, allocations: 329.2 kB / 487.1 MB, free: 38.12 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01436/0.2704, allocations: 25.55 MB / 0.5007 GB, free: 16.18 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.2705, allocations: 12 kB / 0.5007 GB, free: 16.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02329/0.2938, allocations: 20.21 MB / 0.5204 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.2939, allocations: 266.3 kB / 0.5207 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.2941, allocations: 201.2 kB / 0.5209 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.308, allocations: 9.619 MB / 0.5302 GB, free: 10.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.308, allocations: 0 / 0.5302 GB, free: 10.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.308, allocations: 3 kB / 0.5303 GB, free: 10.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3081, allocations: 0 / 0.5303 GB, free: 10.24 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002595/0.3107, allocations: 2.185 MB / 0.5324 GB, free: 8.133 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.3107, allocations: 8.031 kB / 0.5324 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007242/0.3114, allocations: 315.3 kB / 0.5327 GB, free: 7.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.3118, allocations: 464.3 kB / 0.5331 GB, free: 7.453 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.3118, allocations: 39.56 kB / 0.5332 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.3119, allocations: 98.12 kB / 0.5333 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.3125, allocations: 0.7343 MB / 0.534 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3126, allocations: 0 / 0.534 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.3126, allocations: 15.25 kB / 0.534 GB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.3127, allocations: 53.22 kB / 0.5341 GB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.3132, allocations: 0.5394 MB / 0.5346 GB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3147, allocations: 1.161 MB / 0.5357 GB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/0.3155, allocations: 0.7568 MB / 0.5365 GB, free: 4.559 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.3157, allocations: 206.8 kB / 0.5366 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06175/0.3775, allocations: 56.53 MB / 0.5918 GB, free: 100 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1171/0.4946, allocations: 0.6135 MB / 0.5924 GB, free: 143.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=124): time 3.346e-06/0.4946, allocations: 1.25 kB / 0.5924 GB, free: 143.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=161): time 0.01797/0.5125, allocations: 7.086 MB / 0.5994 GB, free: 142.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.5126, allocations: 121 kB / 0.5995 GB, free: 142.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.5128, allocations: 493 kB / 0.6 GB, free: 142.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.5129, allocations: 59.36 kB / 0.6 GB, free: 142.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.5129, allocations: 185.9 kB / 0.6002 GB, free: 142.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.5131, allocations: 0.6003 MB / 0.6008 GB, free: 141.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/0.5134, allocations: 456 kB / 0.6012 GB, free: 141.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 2.711e-05/0.5135, allocations: 323.6 kB / 0.6015 GB, free: 141.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.5138, allocations: 407 kB / 0.6019 GB, free: 141.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.5141, allocations: 0.6104 MB / 0.6025 GB, free: 141.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/0.515, allocations: 1.239 MB / 0.6037 GB, free: 140.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.515, allocations: 0 / 0.6037 GB, free: 140.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001036/0.516, allocations: 1.474 MB / 0.6052 GB, free: 140.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.516, allocations: 33.3 kB / 0.6052 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.516, allocations: 3.594 kB / 0.6052 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5161, allocations: 14.5 kB / 0.6052 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008279/0.5169, allocations: 0.5036 MB / 0.6057 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5169, allocations: 20.5 kB / 0.6057 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.5171, allocations: 41.47 kB / 0.6058 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.5173, allocations: 108 kB / 0.6059 GB, free: 140.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 3 (s0.phase,s1.phase,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 229 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.5174, allocations: 241 kB / 0.6061 GB, free: 140.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.5176, allocations: 108.8 kB / 0.6062 GB, free: 140.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004616/0.5222, allocations: 7.891 MB / 0.6139 GB, free: 139.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.5222, allocations: 41.81 kB / 0.6139 GB, free: 139.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.5222, allocations: 0 / 0.6139 GB, free: 139.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.5222, allocations: 14.64 kB / 0.6139 GB, free: 139.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004329/0.5265, allocations: 8.342 MB / 0.6221 GB, free: 138.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5266, allocations: 0 / 0.6221 GB, free: 138.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/0.5274, allocations: 394.4 kB / 0.6225 GB, free: 137.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.5274, allocations: 11.72 kB / 0.6225 GB, free: 137.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/0.5274, allocations: 70.61 kB / 0.6225 GB, free: 137.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5274, allocations: 4 kB / 0.6226 GB, free: 137.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5274, allocations: 4 kB / 0.6226 GB, free: 137.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003471/0.5309, allocations: 6.99 MB / 0.6294 GB, free: 131.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.5312, allocations: 296 kB / 0.6297 GB, free: 130.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.665e-05/0.5313, allocations: 48.47 kB / 0.6297 GB, free: 130.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.5315, allocations: 38.69 kB / 0.6297 GB, free: 130.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.5316, allocations: 134.8 kB / 0.6299 GB, free: 130.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.5317, allocations: 62.8 kB / 0.6299 GB, free: 130.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.674e-05/0.5318, allocations: 189.9 kB / 0.6301 GB, free: 130.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5318, allocations: 0 / 0.6301 GB, free: 130.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002815/0.5346, allocations: 2.159 MB / 0.6322 GB, free: 129.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 43 (y_int[1],y_int[2],y_int[3],y_int[4],y_int[5],y_int[6],y_int[7],y_int[8],y_int[9],y_int[10],y_int[11],y_int[12],y_int[13],y_int[14],y_int[15],y_int[16],y_int[17],y_int[18],y_int[19],y_int[20],y_int[21],y_int[22],y_int[23],y_int[24],y_int[25],y_int[26],y_int[27],y_int[28],y_int[29],y_int[30],y_int[31],y_int[32],y_int[33],y_int[34],y_int[35],y_int[36],y_int[37],y_int[38],y_int[39],y_int[40],y_int[41],y_int[42],y_int[43]) * Number of discrete variables: 11 ($cse1.phase,$cse2.sat.vap.phase,$cse2.sat.liq.phase,$cse3.phase,$cse4.phase,$cse5.phase,$cse6.phase,$cse50.phase,$cse51.phase,$cse52.phase,$whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (213): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003735/0.5383, allocations: 3.904 MB / 0.636 GB, free: 126.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.54, allocations: 3.136 MB / 0.6391 GB, free: 123.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.54, allocations: 11.62 kB / 0.6391 GB, free: 123.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.5411, allocations: 2.433 MB / 0.6415 GB, free: 121.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.5418, allocations: 312.9 kB / 0.6418 GB, free: 121.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.5445, allocations: 4.507 MB / 0.6462 GB, free: 117.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.5447, allocations: 342.8 kB / 0.6465 GB, free: 117 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008578/0.5455, allocations: 1.307 MB / 0.6478 GB, free: 116.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008397/0.5464, allocations: 0.5631 MB / 0.6483 GB, free: 115.8 MB / 458.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5464, allocations: 0 / 0.6483 GB, free: 115.8 MB / 458.7 MB Notification: Performance of Templates: time 0.06876/0.6151, allocations: 106.9 MB / 0.7528 GB, free: 13.79 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.sim & (cd run_cvode && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_gbode.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_gbode.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_gbode.sim & (cd run_gbode && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_gbode.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_ida.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_ida.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_ida.sim & (cd run_ida && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.61981422547251]