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.001346/0.001346, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001483/0.001483, allocations: 209 kB / 24.48 MB, free: 3.938 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.548/1.548, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.1842/0.1842, allocations: 38.55 MB / 353.2 MB, free: 12.32 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_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [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.002352/0.002352, allocations: 67.89 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3459, allocations: 62.47 MB / 0.5432 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.00368/0.3495, allocations: 2.189 MB / 0.5453 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.3528, allocations: 1.902 MB / 0.5472 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.3528, allocations: 3.938 kB / 0.5472 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.353, allocations: 10.55 kB / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.412e-05/0.3531, allocations: 27.83 kB / 0.5472 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.3559, allocations: 0.9581 MB / 0.5481 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.356, allocations: 71.69 kB / 0.5482 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.3561, allocations: 10.58 kB / 0.5482 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.3562, allocations: 47.06 kB / 0.5483 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3564, allocations: 51.11 kB / 0.5483 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.3564, allocations: 1 kB / 0.5483 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.3598, allocations: 1.889 MB / 0.5502 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.3598, allocations: 10.55 kB / 0.5502 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.3599, allocations: 19.03 kB / 0.5502 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.3617, allocations: 1.324 MB / 0.5515 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3618, allocations: 0 / 0.5515 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3618, allocations: 0 / 0.5515 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.944e-06/0.3618, allocations: 1.406 kB / 0.5515 GB, free: 10.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007417/0.3625, allocations: 443.8 kB / 0.5519 GB, free: 10.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3625, allocations: 13.2 kB / 0.5519 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.3626, allocations: 8.641 kB / 0.5519 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.3628, allocations: 133 kB / 0.5521 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3628, allocations: 1.406 kB / 0.5521 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.3628, allocations: 0 / 0.5521 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.363, allocations: 96.31 kB / 0.5522 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.363, allocations: 1.531 kB / 0.5522 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.363, allocations: 0 / 0.5522 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.363, allocations: 3.938 kB / 0.5522 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.3631, allocations: 71.83 kB / 0.5522 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.3632, allocations: 116 kB / 0.5523 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3634, allocations: 74.52 kB / 0.5524 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.3634, allocations: 71.59 kB / 0.5525 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.3634, allocations: 4.953 kB / 0.5525 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.3635, allocations: 31.59 kB / 0.5525 GB, free: 9.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.3635, allocations: 5 kB / 0.5525 GB, free: 9.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003688/0.3639, allocations: 244 kB / 0.5527 GB, free: 9.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.3639, allocations: 83.05 kB / 0.5528 GB, free: 9.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.364, allocations: 127.8 kB / 0.5529 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3641, allocations: 26.86 kB / 0.553 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.3641, allocations: 90.27 kB / 0.5531 GB, free: 9.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.3642, allocations: 27.89 kB / 0.5531 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.3642, allocations: 20.56 kB / 0.5531 GB, free: 8.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3643, allocations: 325 kB / 0.5534 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.3644, allocations: 63.7 kB / 0.5535 GB, free: 8.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.3645, allocations: 62.25 kB / 0.5535 GB, free: 8.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.3646, allocations: 151.2 kB / 0.5537 GB, free: 8.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3646, allocations: 0 / 0.5537 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002026/0.3648, allocations: 175.7 kB / 0.5538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.3649, allocations: 44.16 kB / 0.5539 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3649, allocations: 4 kB / 0.5539 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3649, allocations: 1.094 kB / 0.5539 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3649, allocations: 0 / 0.5539 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3649, allocations: 1.125 kB / 0.5539 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.365, allocations: 10.02 kB / 0.5539 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.365, allocations: 2.406 kB / 0.5539 GB, free: 8.285 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.0001351/0.3651, allocations: 166.8 kB / 0.5541 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.3651, allocations: 4.531 kB / 0.5541 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.3652, allocations: 6.656 kB / 0.5541 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.3652, allocations: 1.156 kB / 0.5541 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3652, allocations: 0 / 0.5541 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.3652, allocations: 0 / 0.5541 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.3653, allocations: 126.5 kB / 0.5542 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3653, allocations: 0 / 0.5542 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3653, allocations: 0 / 0.5542 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3653, allocations: 1.312 kB / 0.5542 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3653, allocations: 2.281 kB / 0.5542 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3653, allocations: 4 kB / 0.5542 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3653, allocations: 5.219 kB / 0.5542 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.3656, allocations: 258.8 kB / 0.5545 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.3656, allocations: 10.52 kB / 0.5545 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3657, allocations: 2.438 kB / 0.5545 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.376e-05/0.3657, allocations: 2.219 kB / 0.5545 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.3657, allocations: 5.109 kB / 0.5545 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.3657, allocations: 3.312 kB / 0.5545 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.609e-05/0.3658, allocations: 95.08 kB / 0.5546 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3658, allocations: 0 / 0.5546 GB, free: 7.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009742/0.3667, allocations: 319.1 kB / 0.5549 GB, free: 7.629 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.0009576/0.3677, allocations: 377.8 kB / 0.5552 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.368, allocations: 249.1 kB / 0.5555 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.368, allocations: 0 / 0.5555 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.3682, allocations: 157 kB / 0.5556 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.3684, allocations: 13.94 kB / 0.5556 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.3689, allocations: 312.2 kB / 0.5559 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.716e-05/0.369, allocations: 79.33 kB / 0.556 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.369, allocations: 7.438 kB / 0.556 GB, free: 6.605 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.369, allocations: 0 / 0.556 GB, free: 6.605 MB / 398.1 MB Notification: Performance of Templates: time 0.01015/0.3792, allocations: 5.749 MB / 0.5616 GB, free: 0.8516 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.720988396089524]