Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.00539/0.00539, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001158/0.001158, allocations: 166.7 kB / 24.91 MB, free: 9.152 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 1.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2286/0.2286, allocations: 29.42 MB / 291.2 MB, free: 2.469 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.996e-05, allocations: 9.812 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002722/0.002742, allocations: 2.267 MB / 319.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.004779, allocations: 1.982 MB / 321.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.004822, allocations: 0 / 321.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.004939, allocations: 15.86 kB / 321.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.105e-05/0.00501, allocations: 27.77 kB / 321.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.006511, allocations: 1.001 MB / 322.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.126e-05/0.006603, allocations: 75.69 kB / 322.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.126e-05/0.006634, allocations: 192 / 322.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.006738, allocations: 51.81 kB / 322.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.006795, allocations: 35.89 kB / 322.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.006806, allocations: 4 kB / 322.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.008537, allocations: 1.87 MB / 324.2 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.008575, allocations: 19.92 kB / 324.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.0086, allocations: 23.86 kB / 324.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.009944, allocations: 1.484 MB / 325.7 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.009947, allocations: 3.938 kB / 325.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009948, allocations: 0 / 325.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.009951, allocations: 0 / 325.7 MB, free: 7.078 MB / 298.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.0003755/0.01033, allocations: 440.7 kB / 326.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.01036, allocations: 19.92 kB / 326.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.01038, allocations: 4.938 kB / 326.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.808e-05/0.01048, allocations: 133.6 kB / 326.3 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-06/0.01048, allocations: 7.875 kB / 326.3 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.01049, allocations: 4 kB / 326.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.523e-05/0.01058, allocations: 74.22 kB / 326.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-06/0.01058, allocations: 0 / 326.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.01059, allocations: 3.984 kB / 326.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-06/0.01059, allocations: 0 / 326.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.455e-05/0.01062, allocations: 49.64 kB / 326.4 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.523e-05/0.01067, allocations: 67.86 kB / 326.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.786e-05/0.01072, allocations: 60.27 kB / 326.6 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.01075, allocations: 46.58 kB / 326.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-06/0.01075, allocations: 4 kB / 326.6 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.01077, allocations: 34.5 kB / 326.6 MB, free: 6.023 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 6.31e-07/0.01077, allocations: 0 / 326.6 MB, free: 6.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001376/0.0109, allocations: 183.6 kB / 326.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.01094, allocations: 85.31 kB / 326.9 MB, free: 5.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.011, allocations: 137 kB / 327 MB, free: 5.574 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.01101, allocations: 29.64 kB / 327.1 MB, free: 5.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.01103, allocations: 92.16 kB / 327.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.01106, allocations: 35.64 kB / 327.2 MB, free: 5.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.01109, allocations: 29.69 kB / 327.2 MB, free: 5.375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.01116, allocations: 318.8 kB / 327.5 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/0.01119, allocations: 44.52 kB / 327.6 MB, free: 5.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.01122, allocations: 46.34 kB / 327.6 MB, free: 4.953 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.263e-05/0.01128, allocations: 107 kB / 327.7 MB, free: 4.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.01128, allocations: 0 / 327.7 MB, free: 4.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.464e-05/0.01137, allocations: 141.9 kB / 327.9 MB, free: 4.676 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.0114, allocations: 45.67 kB / 327.9 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.0114, allocations: 4.062 kB / 327.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.01141, allocations: 0 / 327.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.194e-06/0.01142, allocations: 0 / 327.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.01142, allocations: 4 kB / 327.9 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.01145, allocations: 7.922 kB / 327.9 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.01147, allocations: 4 kB / 327.9 MB, free: 4.605 MB / 298.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 7.323e-05/0.01154, allocations: 158.3 kB / 328.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.01155, allocations: 23.86 kB / 328.1 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.281e-05/0.01157, allocations: 4.781 kB / 328.1 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.01157, allocations: 0 / 328.1 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01157, allocations: 0 / 328.1 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01157, allocations: 4 kB / 328.1 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.321e-05/0.01163, allocations: 77.84 kB / 328.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.01163, allocations: 0 / 328.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.01163, allocations: 0 / 328.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.01163, allocations: 0 / 328.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.01163, allocations: 4 kB / 328.2 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01164, allocations: 3.938 kB / 328.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01164, allocations: 4 kB / 328.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.01176, allocations: 198.1 kB / 328.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.01177, allocations: 15.88 kB / 328.4 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.01178, allocations: 8.031 kB / 328.4 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.0118, allocations: 3.938 kB / 328.4 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.01181, allocations: 8 kB / 328.4 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.01182, allocations: 4 kB / 328.4 MB, free: 4.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.758e-05/0.01184, allocations: 27.64 kB / 328.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01184, allocations: 0 / 328.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004726/0.01231, allocations: 323.4 kB / 328.8 MB, free: 3.688 MB / 298.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.0006088/0.01292, allocations: 404.8 kB / 329.2 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.01306, allocations: 191.6 kB / 329.4 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01307, allocations: 0 / 329.4 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.424e-05/0.01313, allocations: 133.9 kB / 329.5 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.854e-05/0.01322, allocations: 8 kB / 329.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.01365, allocations: 292.2 kB / 329.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.355e-05/0.01368, allocations: 71.28 kB / 329.9 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.125e-05/0.01369, allocations: 3.938 kB / 329.9 MB, free: 2.504 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.01376, allocations: 75.36 kB / 329.9 MB, free: 2.43 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01376, allocations: 0 / 329.9 MB, free: 2.43 MB / 298.7 MB Notification: Performance of Templates: time 0.00883/0.02259, allocations: 7.555 MB / 337.5 MB, free: 10.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.202681468334049]