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.001501/0.001501, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001736/0.001736, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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.1812/0.1812, allocations: 38.52 MB / 353.2 MB, free: 12.55 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",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.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 64.19 kB / 493.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3331, allocations: 62.47 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003497/0.3366, allocations: 2.215 MB / 0.5454 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.3398, allocations: 2.102 MB / 0.5475 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.3398, allocations: 1.125 kB / 0.5475 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.34, allocations: 17.09 kB / 0.5475 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.521e-05/0.34, allocations: 30.06 kB / 0.5475 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.3427, allocations: 0.9812 MB / 0.5485 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.3428, allocations: 80.33 kB / 0.5485 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.3429, allocations: 5.734 kB / 0.5485 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.3431, allocations: 42.42 kB / 0.5486 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.3432, allocations: 38.73 kB / 0.5486 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.3432, allocations: 2 kB / 0.5486 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004078/0.3473, allocations: 2.237 MB / 0.5508 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.3473, allocations: 22.08 kB / 0.5508 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.3474, allocations: 23.09 kB / 0.5509 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002879/0.3503, allocations: 1.366 MB / 0.5522 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3503, allocations: 5.188 kB / 0.5522 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3503, allocations: 0 / 0.5522 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.3503, allocations: 0 / 0.5522 GB, free: 10.07 MB / 398.1 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.001148/0.3514, allocations: 465.4 kB / 0.5526 GB, free: 9.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.3515, allocations: 14.16 kB / 0.5526 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.3515, allocations: 7.516 kB / 0.5527 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.3517, allocations: 134.4 kB / 0.5528 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3518, allocations: 0 / 0.5528 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.3518, allocations: 1.438 kB / 0.5528 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.352, allocations: 68.86 kB / 0.5529 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.352, allocations: 0 / 0.5529 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.352, allocations: 1.469 kB / 0.5529 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.352, allocations: 0 / 0.5529 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.797e-05/0.3521, allocations: 43.02 kB / 0.5529 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.3523, allocations: 150.9 kB / 0.553 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.3524, allocations: 53.8 kB / 0.5531 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.3524, allocations: 36.28 kB / 0.5531 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.3524, allocations: 0 / 0.5531 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.3525, allocations: 31.47 kB / 0.5532 GB, free: 9.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 7.72e-07/0.3525, allocations: 0 / 0.5532 GB, free: 9.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003639/0.3528, allocations: 197.2 kB / 0.5533 GB, free: 9.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.3529, allocations: 89.03 kB / 0.5534 GB, free: 8.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.353, allocations: 132.3 kB / 0.5536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.353, allocations: 26.95 kB / 0.5536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.3531, allocations: 94.38 kB / 0.5537 GB, free: 8.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.3532, allocations: 40.47 kB / 0.5537 GB, free: 8.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.3532, allocations: 25.98 kB / 0.5537 GB, free: 8.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3534, allocations: 326.2 kB / 0.554 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/0.3534, allocations: 34.48 kB / 0.5541 GB, free: 8.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/0.3535, allocations: 35.05 kB / 0.5541 GB, free: 8.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.3536, allocations: 159 kB / 0.5543 GB, free: 8.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.3537, allocations: 0 / 0.5543 GB, free: 8.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002089/0.3539, allocations: 156.4 kB / 0.5544 GB, free: 8.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.329e-05/0.3539, allocations: 48.05 kB / 0.5545 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3539, allocations: 1.156 kB / 0.5545 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3539, allocations: 0 / 0.5545 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.3539, allocations: 0 / 0.5545 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.354, allocations: 1.031 kB / 0.5545 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.354, allocations: 14.23 kB / 0.5545 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.354, allocations: 8.438 kB / 0.5545 GB, free: 8.055 MB / 398.1 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 0.0001466/0.3542, allocations: 159.9 kB / 0.5546 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.3542, allocations: 10.92 kB / 0.5546 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.3542, allocations: 14.92 kB / 0.5547 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3542, allocations: 0 / 0.5547 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3542, allocations: 0 / 0.5547 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3542, allocations: 5.062 kB / 0.5547 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.3544, allocations: 154 kB / 0.5548 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3544, allocations: 4 kB / 0.5548 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.3544, allocations: 0 / 0.5548 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3544, allocations: 1.062 kB / 0.5548 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3544, allocations: 3.312 kB / 0.5548 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3544, allocations: 7.984 kB / 0.5548 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3544, allocations: 1.031 kB / 0.5548 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.3548, allocations: 296.8 kB / 0.5551 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.3548, allocations: 7.953 kB / 0.5551 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3548, allocations: 6.406 kB / 0.5551 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.008e-05/0.3548, allocations: 1.156 kB / 0.5551 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.3548, allocations: 2.688 kB / 0.5551 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3549, allocations: 3.812 kB / 0.5551 GB, free: 7.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.521e-05/0.3549, allocations: 112.7 kB / 0.5552 GB, free: 7.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3549, allocations: 0 / 0.5552 GB, free: 7.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001232/0.3562, allocations: 324.2 kB / 0.5555 GB, free: 7.355 MB / 398.1 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.001212/0.3574, allocations: 371.3 kB / 0.5559 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.3577, allocations: 235.3 kB / 0.5561 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3577, allocations: 0 / 0.5561 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.3579, allocations: 167.3 kB / 0.5563 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3582, allocations: 8 kB / 0.5563 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.3588, allocations: 338.8 kB / 0.5566 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3591, allocations: 0.7041 MB / 0.5573 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.3591, allocations: 7.438 kB / 0.5573 GB, free: 5.637 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3591, allocations: 3.938 kB / 0.5573 GB, free: 5.633 MB / 398.1 MB Notification: Performance of Templates: time 0.01051/0.3696, allocations: 5.964 MB / 0.5631 GB, free: 15.66 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.724155785050243]