Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PLL_PLL.Examples.VariableFrequency.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.00115/0.00115, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001704/0.001704, allocations: 170 kB / 23.27 MB, free: 1.227 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.9901/0.9901, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PLL 1.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PLL 1.0.1/package.mo): time 0.006947/0.006947, allocations: 1.695 MB / 262 MB, free: 11.2 MB / 250.7 MB " [Timeout remaining time 180] Using package PLL with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PLL 1.0.1/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(PLL.Examples.VariableFrequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="PLL_PLL.Examples.VariableFrequency") translateModel(PLL.Examples.VariableFrequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="PLL_PLL.Examples.VariableFrequency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 332.2 MB, free: 2.379 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.272e-05, allocations: 6.25 kB / 332.2 MB, free: 2.371 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.002856/0.002879, allocations: 2.322 MB / 334.5 MB, free: 32 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.004199, allocations: 0.8179 MB / 335.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.004355, allocations: 11.88 kB / 335.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.004529, allocations: 55.44 kB / 335.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005169/0.005046, allocations: 135.2 kB / 335.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.005229, allocations: 115.8 kB / 335.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.005536, allocations: 342.7 kB / 336 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.00575, allocations: 121.8 kB / 336.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004383/0.006189, allocations: 287.4 kB / 336.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.006374, allocations: 183.5 kB / 336.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.006415, allocations: 32 kB / 336.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.514e-05/0.00645, allocations: 28 kB / 336.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.006554, allocations: 123.6 kB / 336.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.006631, allocations: 103.7 kB / 336.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.00692, allocations: 290.8 kB / 337.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.006922, allocations: 0 / 337.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006923, allocations: 0 / 337.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.006928, allocations: 0 / 337.2 MB, free: 13.42 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009888/0.007917, allocations: 0.7059 MB / 337.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.007955, allocations: 12.03 kB / 337.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.008073, allocations: 64.66 kB / 337.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.008395, allocations: 310.9 kB / 338.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.008424, allocations: 20.88 kB / 338.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.008473, allocations: 24.38 kB / 338.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.008928, allocations: 277.7 kB / 338.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.008941, allocations: 192 / 338.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.008968, allocations: 8.375 kB / 338.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.009013, allocations: 24.59 kB / 338.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.009278, allocations: 123 kB / 338.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.01064, allocations: 1.171 MB / 339.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.01103, allocations: 160 kB / 340 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.01112, allocations: 52.12 kB / 340.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.01116, allocations: 4.234 kB / 340.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.01118, allocations: 41.62 kB / 340.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.834e-06/0.01118, allocations: 0 / 340.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004292/0.01161, allocations: 225 kB / 340.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.01166, allocations: 59.34 kB / 340.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.01194, allocations: 330.2 kB / 340.7 MB, free: 9.641 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.01197, allocations: 29.7 kB / 340.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.01213, allocations: 259.2 kB / 341 MB, free: 9.344 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/0.01219, allocations: 107.1 kB / 341.1 MB, free: 9.238 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.631e-05/0.01226, allocations: 67.31 kB / 341.2 MB, free: 9.164 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.0124, allocations: 0.5157 MB / 341.7 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.303e-05/0.01245, allocations: 32.56 kB / 341.7 MB, free: 8.605 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.417e-05/0.01253, allocations: 103.7 kB / 341.8 MB, free: 8.484 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.01269, allocations: 154.3 kB / 342 MB, free: 8.312 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01269, allocations: 0 / 342 MB, free: 8.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002381/0.01293, allocations: 221.3 kB / 342.2 MB, free: 8.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.01294, allocations: 11.12 kB / 342.2 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01295, allocations: 0 / 342.2 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.01296, allocations: 11.88 kB / 342.2 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.01315, allocations: 59.97 kB / 342.3 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.01316, allocations: 7.938 kB / 342.3 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.01324, allocations: 27.83 kB / 342.3 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.01326, allocations: 4 kB / 342.3 MB, free: 7.973 MB / 314.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: 2 (srfPLL.integrator.local_reset,simpledqPLL.integralController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.000104/0.01336, allocations: 172.6 kB / 342.5 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.01341, allocations: 39.81 kB / 342.5 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.01369, allocations: 229.7 kB / 342.7 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01369, allocations: 3.938 kB / 342.8 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01369, allocations: 0 / 342.8 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.0137, allocations: 7.984 kB / 342.8 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.01428, allocations: 0.5684 MB / 343.3 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01428, allocations: 0 / 343.3 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.01445, allocations: 63.91 kB / 343.4 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01445, allocations: 3.938 kB / 343.4 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.01447, allocations: 8 kB / 343.4 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01447, allocations: 3.984 kB / 343.4 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01448, allocations: 3.984 kB / 343.4 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.01484, allocations: 417.9 kB / 343.8 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.01487, allocations: 35.7 kB / 343.9 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.0149, allocations: 11.88 kB / 343.9 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.01498, allocations: 11.98 kB / 343.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.01503, allocations: 27.95 kB / 343.9 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.01505, allocations: 12 kB / 343.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.01515, allocations: 218.9 kB / 344.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01515, allocations: 0 / 344.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.01536, allocations: 71.84 kB / 344.2 MB, free: 6.016 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (vfController.x,srfPLL.controller.x,srfPLL.integrator.y,simpledqPLL.integralController.y) * 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 (32): * Single equations (assignments): 32 * 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 0.0001008/0.01546, allocations: 99.19 kB / 344.3 MB, free: 5.906 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.0157, allocations: 151.4 kB / 344.4 MB, free: 5.754 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.0157, allocations: 0 / 344.4 MB, free: 5.754 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/0.0158, allocations: 91.75 kB / 344.5 MB, free: 5.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.01609, allocations: 45.14 kB / 344.6 MB, free: 5.617 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009757/0.01706, allocations: 0.6786 MB / 345.3 MB, free: 4.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.738e-05/0.01714, allocations: 117 kB / 345.4 MB, free: 4.773 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.371e-05/0.01724, allocations: 35 kB / 345.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.01737, allocations: 118.2 kB / 345.5 MB, free: 4.625 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01737, allocations: 3.938 kB / 345.5 MB, free: 4.621 MB / 314.7 MB Notification: Performance of Templates: time 0.005635/0.02301, allocations: 3.118 MB / 348.6 MB, free: 1.539 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PLL_PLL.Examples.VariableFrequency.makefile [Timeout 660] (rm -f PLL_PLL.Examples.VariableFrequency.pipe ; mkfifo PLL_PLL.Examples.VariableFrequency.pipe ; head -c 1048576 < PLL_PLL.Examples.VariableFrequency.pipe >> ../files/PLL_PLL.Examples.VariableFrequency.sim & (cd run_cvode && ../PLL_PLL.Examples.VariableFrequency -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > PLL_PLL.Examples.VariableFrequency.pipe 2>&1) [Timeout 240] (rm -f PLL_PLL.Examples.VariableFrequency_gbode.pipe ; mkfifo PLL_PLL.Examples.VariableFrequency_gbode.pipe ; head -c 1048576 < PLL_PLL.Examples.VariableFrequency_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PLL_PLL.Examples.VariableFrequency_gbode.sim & (cd run_gbode && ../PLL_PLL.Examples.VariableFrequency -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > PLL_PLL.Examples.VariableFrequency_gbode.pipe 2>&1) [Timeout 240] (rm -f PLL_PLL.Examples.VariableFrequency_ida.pipe ; mkfifo PLL_PLL.Examples.VariableFrequency_ida.pipe ; head -c 1048576 < PLL_PLL.Examples.VariableFrequency_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PLL_PLL.Examples.VariableFrequency_ida.sim & (cd run_ida && ../PLL_PLL.Examples.VariableFrequency -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > PLL_PLL.Examples.VariableFrequency_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.46309549594298]