Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.Coupling.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.0009212/0.0009212, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002253, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.9176/0.9176, allocations: 177.2 MB / 188.4 MB, free: 4.387 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1594/1.077, allocations: 53.66 MB / 242 MB, free: 2.594 MB / 234.7 MB " [Timeout remaining time 179] 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.0008394/0.0008394, allocations: 143.7 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002104, allocations: 485 kB / 243.4 MB, free: 1.266 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02422/0.02422, allocations: 6.647 MB / 250.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004628/0.02885, allocations: 2.669 MB / 253.5 MB, free: 7.395 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 254.7 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.808e-05, allocations: 2.312 kB / 254.7 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.002637/0.002655, allocations: 2.633 MB / 257.4 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000799/0.003454, allocations: 0.6353 MB / 258 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.492e-05/0.003539, allocations: 4 kB / 258 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.00368, allocations: 35.64 kB / 258 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.003791, allocations: 67.36 kB / 258.1 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.003963, allocations: 63.84 kB / 258.2 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.00418, allocations: 270.8 kB / 258.4 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.004305, allocations: 77.91 kB / 258.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.004465, allocations: 171.6 kB / 258.7 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.004583, allocations: 83.77 kB / 258.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.004613, allocations: 27.94 kB / 258.8 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.452e-05/0.004637, allocations: 24 kB / 258.8 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.004669, allocations: 39.81 kB / 258.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.004726, allocations: 71.88 kB / 258.9 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.004916, allocations: 159.4 kB / 259.1 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.424e-05/0.00493, allocations: 0 / 259.1 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004931, allocations: 0 / 259.1 MB, free: 1.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.004941, allocations: 8 kB / 259.1 MB, free: 1.742 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005499/0.005491, allocations: 483.9 kB / 259.6 MB, free: 1.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.005523, allocations: 12.62 kB / 259.6 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.005572, allocations: 32.92 kB / 259.6 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.005737, allocations: 154 kB / 259.8 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.005763, allocations: 16.88 kB / 259.8 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.005793, allocations: 32.31 kB / 259.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.006023, allocations: 221.7 kB / 260 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.006033, allocations: 7.922 kB / 260 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.006047, allocations: 12 kB / 260 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.006054, allocations: 4 kB / 260 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/0.006134, allocations: 59.47 kB / 260.1 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/0.006761, allocations: 0.6109 MB / 260.7 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.006889, allocations: 82.47 kB / 260.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.00692, allocations: 24.86 kB / 260.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.006935, allocations: 4 kB / 260.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.006956, allocations: 38.5 kB / 260.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.006958, allocations: 0 / 260.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005876/0.007546, allocations: 345.1 kB / 261.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.007571, allocations: 59.41 kB / 261.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.007658, allocations: 167.2 kB / 261.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.007669, allocations: 29.7 kB / 261.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.007945, allocations: 160.1 kB / 261.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.007973, allocations: 55.52 kB / 261.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.008016, allocations: 41.69 kB / 261.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.008083, allocations: 326.8 kB / 262 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.008111, allocations: 27.98 kB / 262 MB, free: 14.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.434e-05/0.008155, allocations: 65.92 kB / 262.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/0.008243, allocations: 108.7 kB / 262.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.008244, allocations: 3.938 kB / 262.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001215/0.008365, allocations: 129.3 kB / 262.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.008378, allocations: 8 kB / 262.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.008382, allocations: 0 / 262.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.008392, allocations: 4 kB / 262.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.008574, allocations: 61.95 kB / 262.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.008579, allocations: 4 kB / 262.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.008626, allocations: 8 kB / 262.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.008633, allocations: 8.188 kB / 262.4 MB, free: 14.13 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 7.052e-05/0.008704, allocations: 133.7 kB / 262.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.008728, allocations: 8 kB / 262.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.008765, allocations: 25.45 kB / 262.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008767, allocations: 0 / 262.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.008769, allocations: 0 / 262.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.008772, allocations: 4 kB / 262.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.008899, allocations: 121.8 kB / 262.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.0089, allocations: 0 / 262.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.009023, allocations: 64.89 kB / 262.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.009058, allocations: 19.89 kB / 262.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.00906, allocations: 0 / 262.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.009066, allocations: 0 / 262.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.009067, allocations: 0 / 262.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009068, allocations: 0 / 262.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.009231, allocations: 215.3 kB / 263 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.009245, allocations: 0 / 263 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.782e-05/0.009302, allocations: 11.98 kB / 263 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.009328, allocations: 7.984 kB / 263 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.009333, allocations: 4.031 kB / 263 MB, free: 13.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.285e-05/0.009365, allocations: 45.52 kB / 263.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009365, allocations: 0 / 263.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001514/0.009517, allocations: 40 kB / 263.1 MB, free: 13.41 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (converter.i) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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 7.368e-05/0.00959, allocations: 76.42 kB / 263.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.009745, allocations: 75.84 kB / 263.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.009752, allocations: 0.5625 kB / 263.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.009835, allocations: 56.66 kB / 263.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.01012, allocations: 269.5 kB / 263.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.01202, allocations: 450.7 kB / 264 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.01206, allocations: 75.98 kB / 264.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.347e-05/0.01212, allocations: 17.47 kB / 264.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.0122, allocations: 83.28 kB / 264.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.0122, allocations: 0 / 264.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Templates: time 0.003326/0.01553, allocations: 1.534 MB / 265.7 MB, free: 10.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Magnetic.Coupling.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.Coupling.sim & (cd run_cvode && ../HanserModelica_HanserModelica.Magnetic.Coupling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Magnetic.Coupling_dassl.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.Coupling_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.Coupling_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Magnetic.Coupling_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.Magnetic.Coupling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.Magnetic.Coupling_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Magnetic.Coupling_gbode.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.Coupling_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.Coupling_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Magnetic.Coupling_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.Magnetic.Coupling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.Magnetic.Coupling_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Magnetic.Coupling_ida.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.Coupling_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.Coupling_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Magnetic.Coupling_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.Magnetic.Coupling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.Magnetic.Coupling_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.634463544934988]