Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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.0008624/0.0008624, allocations: 81.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009457/0.001808, allocations: 451.9 kB / 10.44 MB, free: 252 kB / 10.45 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.0007058/0.0007058, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009015/0.001607, allocations: 475.5 kB / 11.81 MB, free: 2.359 MB / 13.93 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.013/1.013, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08183/1.095, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0235/0.0235, allocations: 4.477 MB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004115/0.02762, allocations: 2.077 MB / 250.7 MB, free: 8.211 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 252 MB, free: 6.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.352e-05, allocations: 6.109 kB / 252 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002008/0.002022, allocations: 2.004 MB / 254 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.003607, allocations: 1.707 MB / 255.7 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.003684, allocations: 4 kB / 255.7 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.00391, allocations: 135.1 kB / 255.8 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.004274, allocations: 242.5 kB / 256.1 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.005378, allocations: 1.132 MB / 257.2 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000366/0.005744, allocations: 378.4 kB / 257.6 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.005888, allocations: 78.91 kB / 257.7 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.006161, allocations: 255.4 kB / 257.9 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.006362, allocations: 159.5 kB / 258.1 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.0064, allocations: 32 kB / 258.1 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.006725, allocations: 295.5 kB / 258.4 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/0.006797, allocations: 67.8 kB / 258.4 MB, free: 452 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.122e-05/0.006889, allocations: 91.81 kB / 258.5 MB, free: 360 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004455/0.007334, allocations: 474.5 kB / 259 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.007347, allocations: 4 kB / 259 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.007347, allocations: 4 kB / 259 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.007359, allocations: 0 / 259 MB, free: 15.88 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002122/0.009481, allocations: 1.187 MB / 260.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.009522, allocations: 8.031 kB / 260.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.898e-05/0.009611, allocations: 52.89 kB / 260.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.009821, allocations: 190 kB / 260.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.009955, allocations: 221.1 kB / 260.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.009997, allocations: 48.3 kB / 260.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/0.01051, allocations: 0.4996 MB / 261.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.01052, allocations: 192 / 261.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.01055, allocations: 16.38 kB / 261.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.01056, allocations: 12.12 kB / 261.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.01074, allocations: 122.2 kB / 261.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009115/0.01165, allocations: 0.7231 MB / 262.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.01202, allocations: 349 kB / 262.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.01213, allocations: 106.5 kB / 262.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.788e-05/0.01221, allocations: 19.94 kB / 262.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.01243, allocations: 275.1 kB / 262.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.01243, allocations: 0 / 262.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.00112/0.01355, allocations: 0.5482 MB / 263.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.0136, allocations: 114.8 kB / 263.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.01372, allocations: 225.2 kB / 263.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.01376, allocations: 37.7 kB / 263.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.01381, allocations: 149 kB / 263.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.01387, allocations: 107.1 kB / 264 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/0.01395, allocations: 78.11 kB / 264 MB, free: 10.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.01404, allocations: 342.7 kB / 264.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.01417, allocations: 75.8 kB / 264.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.01432, allocations: 152.2 kB / 264.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.01456, allocations: 229 kB / 264.8 MB, free: 9.656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01456, allocations: 0 / 264.8 MB, free: 9.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005429/0.0151, allocations: 389.7 kB / 265.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.01511, allocations: 4 kB / 265.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01512, allocations: 0 / 265.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.01612, allocations: 416.3 kB / 265.6 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.0163, allocations: 83.88 kB / 265.7 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000638/0.01693, allocations: 0.6967 MB / 266.4 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.01705, allocations: 47.77 kB / 266.4 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.01707, allocations: 8 kB / 266.4 MB, free: 7.992 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(7,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.01717, allocations: 136.5 kB / 266.6 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.01728, allocations: 101.5 kB / 266.7 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.01769, allocations: 302.2 kB / 267 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.01769, allocations: 12 kB / 267 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01769, allocations: 0 / 267 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.0177, allocations: 3.984 kB / 267 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007878/0.01849, allocations: 0.6987 MB / 267.7 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01849, allocations: 0 / 267.7 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.01867, allocations: 83.89 kB / 267.8 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.0187, allocations: 35.73 kB / 267.8 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000918/0.01962, allocations: 408.2 kB / 268.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.01964, allocations: 12 kB / 268.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006284/0.02027, allocations: 0.7091 MB / 268.9 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.02027, allocations: 0 / 268.9 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007742/0.02105, allocations: 0.5715 MB / 269.5 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.02108, allocations: 8 kB / 269.5 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.02123, allocations: 36.06 kB / 269.5 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.02127, allocations: 23.95 kB / 269.6 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.02129, allocations: 12 kB / 269.6 MB, free: 4.754 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.631e-05/0.02135, allocations: 75.48 kB / 269.7 MB, free: 4.676 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02135, allocations: 4 kB / 269.7 MB, free: 4.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.02158, allocations: 103.9 kB / 269.8 MB, free: 4.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * 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 {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.02173, allocations: 116.3 kB / 269.9 MB, free: 4.445 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000728/0.02246, allocations: 363.1 kB / 270.2 MB, free: 4.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.02247, allocations: 4 kB / 270.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.02293, allocations: 264.3 kB / 270.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.02322, allocations: 170.9 kB / 270.7 MB, free: 3.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/0.02902, allocations: 0.6921 MB / 271.3 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.434e-05/0.02907, allocations: 102.3 kB / 271.4 MB, free: 2.805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.863e-05/0.02916, allocations: 42.94 kB / 271.5 MB, free: 2.762 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.02929, allocations: 99.36 kB / 271.6 MB, free: 2.664 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02929, allocations: 0 / 271.6 MB, free: 2.664 MB / 266.7 MB Notification: Performance of Templates: time 0.1046/0.1339, allocations: 6.32 MB / 277.9 MB, free: 15.44 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & (cd run_cvode && ../PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1) [Timeout 240] (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation_dassl.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation_dassl.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSysPro_PowerSysPro.Examples.QfURegulation_dassl.sim & (cd run_dassl && ../PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > PowerSysPro_PowerSysPro.Examples.QfURegulation_dassl.pipe 2>&1) [Timeout 240] (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation_gbode.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation_gbode.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSysPro_PowerSysPro.Examples.QfURegulation_gbode.sim & (cd run_gbode && ../PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > PowerSysPro_PowerSysPro.Examples.QfURegulation_gbode.pipe 2>&1) [Timeout 240] (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation_ida.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation_ida.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSysPro_PowerSysPro.Examples.QfURegulation_ida.sim & (cd run_ida && ../PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > PowerSysPro_PowerSysPro.Examples.QfURegulation_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.885052539408207]