Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.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.0008152/0.0008152, allocations: 79.75 kB / 20.12 MB, free: 4.152 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.0009149/0.0009149, allocations: 160.5 kB / 23.55 MB, free: 0.7188 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.901/0.901, allocations: 177.2 MB / 204 MB, free: 5.414 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.04676/0.04676, allocations: 11.72 MB / 272.2 MB, free: 1.816 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.HelmholtzDerivsAssociating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating") translateModel(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 291.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022e-05/1.16e-05, allocations: 2.312 kB / 291.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating): time 0.001162/0.001173, allocations: 0.5773 MB / 292.1 MB, free: 16.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04134/0.04251, allocations: 57.68 MB / 349.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.04256, allocations: 0 / 349.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.04259, allocations: 0 / 349.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.04264, allocations: 23.92 kB / 349.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.04476, allocations: 0.8411 MB / 350.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.04486, allocations: 45.58 kB / 350.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.0449, allocations: 4 kB / 350.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.045, allocations: 63.86 kB / 350.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.0451, allocations: 27.97 kB / 350.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.04513, allocations: 4 kB / 350.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.04712, allocations: 1.516 MB / 352.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.04719, allocations: 83.72 kB / 352.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.04727, allocations: 51.72 kB / 352.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008065/0.04807, allocations: 0.8141 MB / 353.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.04807, allocations: 0 / 353.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.04808, allocations: 0 / 353.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.04808, allocations: 3.984 kB / 353.3 MB, free: 10.28 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002526/0.05061, allocations: 1.764 MB / 355 MB, free: 8.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.05064, allocations: 12.03 kB / 355.1 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.05071, allocations: 31.91 kB / 355.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.05086, allocations: 221.5 kB / 355.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.05087, allocations: 4 kB / 355.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.05089, allocations: 7.984 kB / 355.3 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.05114, allocations: 175.1 kB / 355.5 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.05115, allocations: 0 / 355.5 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.05117, allocations: 4 kB / 355.5 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.05118, allocations: 0 / 355.5 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.05131, allocations: 109.6 kB / 355.6 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.699e-05/0.0514, allocations: 65 kB / 355.7 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.05156, allocations: 116.2 kB / 355.8 MB, free: 7.672 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.0517, allocations: 114.5 kB / 355.9 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-06/0.0517, allocations: 4 kB / 355.9 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.266e-05/0.05176, allocations: 72.25 kB / 356 MB, free: 7.461 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 7.71e-07/0.05176, allocations: 0 / 356 MB, free: 7.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005176/0.05228, allocations: 371.4 kB / 356.3 MB, free: 7.074 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.05235, allocations: 97.09 kB / 356.4 MB, free: 6.961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.0526, allocations: 375.3 kB / 356.8 MB, free: 6.582 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.05263, allocations: 29.7 kB / 356.8 MB, free: 6.547 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.05265, allocations: 89.38 kB / 356.9 MB, free: 6.453 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.05269, allocations: 19.8 kB / 356.9 MB, free: 6.434 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.0528, allocations: 85.58 kB / 357 MB, free: 6.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.05289, allocations: 326.8 kB / 357.3 MB, free: 6.016 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.05302, allocations: 97.58 kB / 357.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.05315, allocations: 102.6 kB / 357.5 MB, free: 5.809 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.05346, allocations: 223.6 kB / 357.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.05346, allocations: 0 / 357.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003285/0.05379, allocations: 242.1 kB / 358 MB, free: 5.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.284e-05/0.05385, allocations: 57.66 kB / 358 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.05385, allocations: 0 / 358 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.05386, allocations: 4 kB / 358 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.164e-06/0.05386, allocations: 3.938 kB / 358 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.05387, allocations: 4.609 kB / 358 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.05397, allocations: 18.19 kB / 358.1 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.05408, allocations: 114.7 kB / 358.2 MB, free: 5.121 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 (dev,res[10],res[9],res[8],res[7],res[6],res[5],res[4],res[3],res[2],res[1],nFailed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * 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.0001571/0.05424, allocations: 174.3 kB / 358.3 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.05429, allocations: 31.97 kB / 358.4 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.05433, allocations: 39.73 kB / 358.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-07/0.05433, allocations: 0 / 358.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.05433, allocations: 0 / 358.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.05433, allocations: 0 / 358.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.05446, allocations: 151.1 kB / 358.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.05446, allocations: 0 / 358.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.05446, allocations: 0 / 358.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.05446, allocations: 0 / 358.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.05449, allocations: 15.97 kB / 358.6 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.05449, allocations: 0 / 358.6 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.05449, allocations: 0 / 358.6 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.05494, allocations: 337.4 kB / 358.9 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.05514, allocations: 127.1 kB / 359 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.05519, allocations: 11.98 kB / 359 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.05526, allocations: 8 kB / 359 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.05527, allocations: 5.219 kB / 359 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.05537, allocations: 124 kB / 359.2 MB, free: 4.051 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.05551, allocations: 168.4 kB / 359.3 MB, free: 3.887 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05551, allocations: 0 / 359.3 MB, free: 3.887 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003937/0.0559, allocations: 199.7 kB / 359.5 MB, free: 3.691 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 (nFailed,res[1],res[2],res[3],res[4],res[5],res[6],res[7],res[8],res[9],res[10],dev) * Number of discrete states: 12 (dev,res[10],res[9],res[8],res[7],res[6],res[5],res[4],res[3],res[2],res[1],nFailed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001049/0.05695, allocations: 0.5562 MB / 360.1 MB, free: 3.289 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.05737, allocations: 330.3 kB / 360.4 MB, free: 2.938 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.05738, allocations: 7.938 kB / 360.4 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.0577, allocations: 201.9 kB / 360.6 MB, free: 2.711 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.05783, allocations: 33.81 kB / 360.6 MB, free: 2.684 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/0.05845, allocations: 0.6072 MB / 361.3 MB, free: 2.043 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.0585, allocations: 87.3 kB / 361.3 MB, free: 1.938 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.919e-06/0.0585, allocations: 0 / 361.3 MB, free: 1.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005644/0.05907, allocations: 231.6 kB / 361.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.05907, allocations: 0 / 361.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of Templates: time 0.008977/0.06804, allocations: 6.433 MB / 368 MB, free: 11.2 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.sim & (cd run_cvode && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_gbode.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_gbode.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_gbode.sim & (cd run_gbode && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_gbode.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_ida.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_ida.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_ida.sim & (cd run_ida && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7583428425714374]