Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001505/0.001505, 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.001691/0.001691, 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.175/0.175, allocations: 38.53 MB / 353.2 MB, free: 12.51 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_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [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.00195/0.00195, allocations: 67.91 kB / 493.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 62.47 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003335/0.3032, allocations: 2.224 MB / 0.5454 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.3064, allocations: 2.099 MB / 0.5475 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.3064, allocations: 0 / 0.5475 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.3066, allocations: 10.08 kB / 0.5475 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.3067, allocations: 31.86 kB / 0.5475 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.3095, allocations: 0.9878 MB / 0.5485 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.3096, allocations: 80.22 kB / 0.5485 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.3097, allocations: 6.359 kB / 0.5485 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.3099, allocations: 43.23 kB / 0.5486 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.31, allocations: 50.16 kB / 0.5486 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.31, allocations: 2.469 kB / 0.5486 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00374/0.3137, allocations: 2.231 MB / 0.5508 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.3138, allocations: 47.28 kB / 0.5509 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.3139, allocations: 56.12 kB / 0.5509 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.3163, allocations: 1.427 MB / 0.5523 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3163, allocations: 0 / 0.5523 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3163, allocations: 0 / 0.5523 GB, free: 9.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.3163, allocations: 1.219 kB / 0.5523 GB, free: 9.977 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001076/0.3174, allocations: 0.5416 MB / 0.5528 GB, free: 9.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3174, allocations: 13.64 kB / 0.5529 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.3175, allocations: 18.52 kB / 0.5529 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3177, allocations: 166.2 kB / 0.553 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3177, allocations: 0 / 0.553 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.3177, allocations: 1.562 kB / 0.553 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.318, allocations: 138.8 kB / 0.5532 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.318, allocations: 0 / 0.5532 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.318, allocations: 1.344 kB / 0.5532 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.318, allocations: 3.938 kB / 0.5532 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.3182, allocations: 100.6 kB / 0.5533 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.3184, allocations: 176 kB / 0.5534 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.3185, allocations: 115.5 kB / 0.5535 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.3186, allocations: 105.2 kB / 0.5536 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.3187, allocations: 0 / 0.5536 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3187, allocations: 39.72 kB / 0.5537 GB, free: 8.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 9.82e-07/0.3187, allocations: 0 / 0.5537 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.000709/0.3194, allocations: 496.4 kB / 0.5542 GB, free: 8.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.3195, allocations: 108.3 kB / 0.5543 GB, free: 8.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.3196, allocations: 172.9 kB / 0.5544 GB, free: 8.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3197, allocations: 25.7 kB / 0.5544 GB, free: 8.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.3197, allocations: 106.5 kB / 0.5545 GB, free: 8.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.3199, allocations: 141.6 kB / 0.5547 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.3199, allocations: 38.11 kB / 0.5547 GB, free: 8.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3201, allocations: 337.8 kB / 0.555 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.3202, allocations: 99.17 kB / 0.5551 GB, free: 7.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.3203, allocations: 100.3 kB / 0.5552 GB, free: 7.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.3207, allocations: 383.6 kB / 0.5556 GB, free: 7.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3207, allocations: 0 / 0.5556 GB, free: 7.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003986/0.3211, allocations: 339.1 kB / 0.5559 GB, free: 7.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.965e-05/0.3212, allocations: 88.28 kB / 0.556 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3212, allocations: 0 / 0.556 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3212, allocations: 0 / 0.556 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3212, allocations: 4 kB / 0.556 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3212, allocations: 0 / 0.556 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.961e-05/0.3213, allocations: 15.89 kB / 0.556 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.3213, allocations: 8 kB / 0.556 GB, free: 7.066 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.0002195/0.3215, allocations: 239.4 kB / 0.5563 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.3216, allocations: 31.78 kB / 0.5563 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.3216, allocations: 18.64 kB / 0.5563 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3216, allocations: 0 / 0.5563 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3216, allocations: 7.938 kB / 0.5563 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.3216, allocations: 0 / 0.5563 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.3218, allocations: 220.4 kB / 0.5565 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3218, allocations: 0 / 0.5565 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3218, allocations: 0 / 0.5565 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3218, allocations: 4 kB / 0.5565 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.3218, allocations: 8 kB / 0.5565 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.3218, allocations: 0 / 0.5565 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3218, allocations: 0 / 0.5565 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3228, allocations: 0.916 MB / 0.5574 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.3228, allocations: 27.73 kB / 0.5575 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.3229, allocations: 8 kB / 0.5575 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.058e-05/0.3229, allocations: 4 kB / 0.5575 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.323, allocations: 12.03 kB / 0.5575 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.323, allocations: 8 kB / 0.5575 GB, free: 5.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.3231, allocations: 132.2 kB / 0.5576 GB, free: 5.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3231, allocations: 0 / 0.5576 GB, free: 5.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001142/0.3242, allocations: 355.3 kB / 0.558 GB, free: 5.016 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.001207/0.3254, allocations: 377.7 kB / 0.5583 GB, free: 4.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009654/0.3264, allocations: 0.8309 MB / 0.5591 GB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3264, allocations: 0 / 0.5591 GB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.327, allocations: 0.6045 MB / 0.5597 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.3272, allocations: 16 kB / 0.5597 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009936/0.3282, allocations: 0.7031 MB / 0.5604 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.3286, allocations: 0.7596 MB / 0.5612 GB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.3286, allocations: 7.438 kB / 0.5612 GB, free: 1.633 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3286, allocations: 0 / 0.5612 GB, free: 1.633 MB / 398.1 MB Notification: Performance of Templates: time 0.01192/0.3405, allocations: 7.08 MB / 0.5681 GB, free: 10.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.250366879161447]