Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001762/0.001762, 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.002144/0.002144, 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.528/1.528, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.42 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_matrixEqCirc0,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_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,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_matrixEqCirc0") [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.00215/0.00215, allocations: 72.17 kB / 493.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3044, allocations: 62.46 MB / 0.5432 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003434/0.3079, allocations: 2.146 MB / 0.5453 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.3087, allocations: 0.5116 MB / 0.5458 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.3088, allocations: 3.938 kB / 0.5458 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.3089, allocations: 15.23 kB / 0.5458 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.32e-05/0.309, allocations: 29.34 kB / 0.5458 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.3094, allocations: 77.5 kB / 0.5459 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3095, allocations: 57.95 kB / 0.5459 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.3095, allocations: 2.75 kB / 0.5459 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.3096, allocations: 44.89 kB / 0.546 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.3097, allocations: 37.67 kB / 0.546 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.3097, allocations: 1.281 kB / 0.546 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.3099, allocations: 95.83 kB / 0.5461 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.31, allocations: 13.58 kB / 0.5461 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.31, allocations: 12.44 kB / 0.5461 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.3102, allocations: 98.98 kB / 0.5462 GB, free: 14.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3102, allocations: 0 / 0.5462 GB, free: 14.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3102, allocations: 1.188 kB / 0.5462 GB, free: 14.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3102, allocations: 0 / 0.5462 GB, free: 14.05 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.0004108/0.3106, allocations: 310.1 kB / 0.5465 GB, free: 13.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3106, allocations: 16.86 kB / 0.5465 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.3107, allocations: 11.95 kB / 0.5466 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.3108, allocations: 120.1 kB / 0.5467 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.3109, allocations: 1.375 kB / 0.5467 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3109, allocations: 9.125 kB / 0.5467 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.311, allocations: 90.72 kB / 0.5468 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.311, allocations: 0 / 0.5468 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.311, allocations: 1.531 kB / 0.5468 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.311, allocations: 0 / 0.5468 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.3111, allocations: 70.08 kB / 0.5468 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.3113, allocations: 107.6 kB / 0.5469 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3114, allocations: 76.91 kB / 0.547 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.3115, allocations: 71.33 kB / 0.5471 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-06/0.3115, allocations: 0 / 0.5471 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.3115, allocations: 41 kB / 0.5471 GB, free: 13.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3115, allocations: 0 / 0.5471 GB, free: 13.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003145/0.3118, allocations: 235.2 kB / 0.5473 GB, free: 12.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.3119, allocations: 83.42 kB / 0.5474 GB, free: 12.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.312, allocations: 119 kB / 0.5475 GB, free: 12.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.312, allocations: 25.7 kB / 0.5476 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.3121, allocations: 86.67 kB / 0.5476 GB, free: 12.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.3121, allocations: 26.28 kB / 0.5477 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.3122, allocations: 28.14 kB / 0.5477 GB, free: 12.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3123, allocations: 317.1 kB / 0.548 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.03e-05/0.3124, allocations: 62.2 kB / 0.5481 GB, free: 12.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.3125, allocations: 58.47 kB / 0.5481 GB, free: 12.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.3126, allocations: 136.5 kB / 0.5482 GB, free: 12.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3126, allocations: 0 / 0.5482 GB, free: 12.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001908/0.3128, allocations: 171.7 kB / 0.5484 GB, free: 12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.3128, allocations: 45.14 kB / 0.5484 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3128, allocations: 5.234 kB / 0.5485 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3129, allocations: 4.062 kB / 0.5485 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3129, allocations: 0 / 0.5485 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3129, allocations: 4.906 kB / 0.5485 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.3129, allocations: 10.11 kB / 0.5485 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.3129, allocations: 2.438 kB / 0.5485 GB, free: 11.94 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.0001226/0.313, allocations: 154.1 kB / 0.5486 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.313, allocations: 13.14 kB / 0.5486 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.3131, allocations: 5.625 kB / 0.5486 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3131, allocations: 0 / 0.5486 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3131, allocations: 0 / 0.5486 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3131, allocations: 1.188 kB / 0.5486 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.3132, allocations: 120.1 kB / 0.5488 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3132, allocations: 4 kB / 0.5488 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.3132, allocations: 4.625 kB / 0.5488 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3132, allocations: 4.906 kB / 0.5488 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3132, allocations: 1.688 kB / 0.5488 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3132, allocations: 1.125 kB / 0.5488 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3132, allocations: 3.984 kB / 0.5488 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.3135, allocations: 251 kB / 0.549 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.3135, allocations: 6.375 kB / 0.549 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3135, allocations: 2.125 kB / 0.549 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.958e-05/0.3135, allocations: 10.42 kB / 0.549 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.3135, allocations: 4.906 kB / 0.549 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.3135, allocations: 3.375 kB / 0.549 GB, free: 11.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.195e-05/0.3136, allocations: 90.95 kB / 0.5491 GB, free: 11.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3136, allocations: 0 / 0.5491 GB, free: 11.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.3138, allocations: 27.31 kB / 0.5492 GB, free: 11.33 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.0001655/0.314, allocations: 109.7 kB / 0.5493 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.3143, allocations: 243.9 kB / 0.5495 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3143, allocations: 1.062 kB / 0.5495 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.3144, allocations: 151.9 kB / 0.5496 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.3147, allocations: 15.12 kB / 0.5497 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.3151, allocations: 291.2 kB / 0.5499 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.452e-05/0.3152, allocations: 78.84 kB / 0.55 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.3152, allocations: 8.562 kB / 0.55 GB, free: 10.62 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3152, allocations: 1.094 kB / 0.55 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Templates: time 0.002725/0.3179, allocations: 1.118 MB / 0.5511 GB, free: 10.08 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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: 8.078254326246679]