Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.0007524/0.0007524, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.001938, allocations: 449.8 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.0009652/0.0009652, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.002107, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.024/1.024, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09019/1.114, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1165/0.1165, allocations: 29.44 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1316/0.2481, allocations: 9.543 MB / 283.2 MB, free: 12.81 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/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(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 284.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.539e-05, allocations: 6.75 kB / 284.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003618/0.003633, allocations: 2.348 MB / 286.8 MB, free: 9.906 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003273/0.006906, allocations: 1.979 MB / 288.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.00697, allocations: 3.938 kB / 288.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.716e-05/0.007057, allocations: 15.62 kB / 288.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.707e-05/0.007144, allocations: 33.17 kB / 288.8 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.009271, allocations: 0.8738 MB / 289.7 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.009422, allocations: 72.73 kB / 289.8 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.009473, allocations: 10.98 kB / 289.8 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.009658, allocations: 63.91 kB / 289.9 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.009753, allocations: 32.42 kB / 289.9 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.009768, allocations: 5.781 kB / 289.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.01281, allocations: 1.835 MB / 291.7 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.01285, allocations: 15.23 kB / 291.7 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.01288, allocations: 10.81 kB / 291.8 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.01445, allocations: 1.242 MB / 293 MB, free: 6.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.01446, allocations: 0 / 293 MB, free: 6.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01446, allocations: 0 / 293 MB, free: 6.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.01447, allocations: 1.062 kB / 293 MB, free: 6.047 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006784/0.01515, allocations: 499.5 kB / 293.5 MB, free: 5.613 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.01519, allocations: 12.03 kB / 293.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.01524, allocations: 0.9375 kB / 293.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.01538, allocations: 126.8 kB / 293.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.01539, allocations: 3.938 kB / 293.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.0154, allocations: 0 / 293.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.01552, allocations: 86.14 kB / 293.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.01553, allocations: 0 / 293.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.01554, allocations: 4 kB / 293.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.01554, allocations: 0 / 293.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.647e-05/0.01558, allocations: 45.69 kB / 293.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.749e-05/0.01566, allocations: 67.77 kB / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.123e-05/0.01572, allocations: 52.28 kB / 293.9 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.01576, allocations: 54.58 kB / 293.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-06/0.01576, allocations: 3.938 kB / 293.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.01579, allocations: 38.44 kB / 294 MB, free: 5.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.11e-07/0.01579, allocations: 0 / 294 MB, free: 5.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001899/0.01598, allocations: 166.8 kB / 294.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.016, allocations: 51.41 kB / 294.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.01609, allocations: 131.4 kB / 294.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.0161, allocations: 29.73 kB / 294.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.01613, allocations: 92.12 kB / 294.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.01617, allocations: 19.81 kB / 294.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.01621, allocations: 17.7 kB / 294.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.0163, allocations: 322.8 kB / 294.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.01634, allocations: 44.53 kB / 294.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.01637, allocations: 45.62 kB / 294.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.653e-05/0.01645, allocations: 110.2 kB / 295 MB, free: 3.922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01646, allocations: 0 / 295 MB, free: 3.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001155/0.01657, allocations: 129 kB / 295.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.01662, allocations: 37.69 kB / 295.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01662, allocations: 4.062 kB / 295.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01663, allocations: 4 kB / 295.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.733e-06/0.01664, allocations: 0 / 295.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-06/0.01664, allocations: 0 / 295.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.01668, allocations: 3.938 kB / 295.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.0167, allocations: 4 kB / 295.2 MB, free: 3.719 MB / 282.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: 0 () * 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 9.986e-05/0.0168, allocations: 158.3 kB / 295.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.01681, allocations: 11.94 kB / 295.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.01683, allocations: 4.438 kB / 295.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.01683, allocations: 4 kB / 295.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01683, allocations: 8 kB / 295.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01684, allocations: 7.969 kB / 295.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.863e-05/0.01691, allocations: 69.89 kB / 295.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01691, allocations: 0 / 295.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.01691, allocations: 0 / 295.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.01692, allocations: 11.94 kB / 295.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01692, allocations: 3.938 kB / 295.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.01693, allocations: 0 / 295.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01693, allocations: 0 / 295.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.01693, allocations: 4 kB / 295.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.01709, allocations: 178.1 kB / 295.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.01711, allocations: 8.031 kB / 295.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.01713, allocations: 7.922 kB / 295.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.01714, allocations: 4 kB / 295.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.01715, allocations: 3.938 kB / 295.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.746e-05/0.01718, allocations: 27.34 kB / 295.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01718, allocations: 0 / 295.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006733/0.01785, allocations: 319.3 kB / 296 MB, free: 2.832 MB / 282.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: 0 () * Number of discrete states: 0 () * 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.0009972/0.01885, allocations: 430.4 kB / 296.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.01903, allocations: 175.6 kB / 296.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.01904, allocations: 0 / 296.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.01916, allocations: 175.5 kB / 296.7 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.01929, allocations: 45.69 kB / 296.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.02043, allocations: 253.8 kB / 297 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.861e-05/0.02047, allocations: 67.27 kB / 297.1 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.086e-05/0.02048, allocations: 4 kB / 297.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.02057, allocations: 59.38 kB / 297.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02057, allocations: 0 / 297.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of Templates: time 0.01148/0.03204, allocations: 7.33 MB / 304.5 MB, free: 10.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.048195905983448]