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.001746/0.001746, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001938/0.001938, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.491/1.491, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.1886/0.1886, allocations: 38.56 MB / 353.2 MB, free: 12.33 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.002163/0.002163, allocations: 67.91 kB / 493.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3027, allocations: 62.47 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003688/0.3064, allocations: 2.187 MB / 0.5453 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.3098, allocations: 1.898 MB / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.3098, allocations: 5.188 kB / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.31, allocations: 10.27 kB / 0.5472 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.3101, allocations: 30.3 kB / 0.5472 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.3129, allocations: 0.9628 MB / 0.5482 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.313, allocations: 79.47 kB / 0.5482 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.3131, allocations: 6.422 kB / 0.5482 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3132, allocations: 42.52 kB / 0.5483 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3133, allocations: 54.16 kB / 0.5483 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3133, allocations: 3.125 kB / 0.5483 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003395/0.3167, allocations: 1.891 MB / 0.5502 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.3168, allocations: 47.55 kB / 0.5502 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.3169, allocations: 40.67 kB / 0.5503 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.3189, allocations: 1.392 MB / 0.5516 GB, free: 10.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3189, allocations: 4 kB / 0.5516 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3189, allocations: 1.031 kB / 0.5516 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3189, allocations: 0 / 0.5516 GB, free: 10.41 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.0008347/0.3198, allocations: 0.5395 MB / 0.5522 GB, free: 9.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3198, allocations: 14.73 kB / 0.5522 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.3198, allocations: 17.7 kB / 0.5522 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.3201, allocations: 162.5 kB / 0.5523 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.3201, allocations: 0 / 0.5523 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.3201, allocations: 1.469 kB / 0.5523 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.3204, allocations: 232.1 kB / 0.5526 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3204, allocations: 0 / 0.5526 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3204, allocations: 8.875 kB / 0.5526 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3204, allocations: 3.984 kB / 0.5526 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.3206, allocations: 200.3 kB / 0.5528 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.3208, allocations: 132.7 kB / 0.5529 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.3211, allocations: 215.7 kB / 0.5531 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.3213, allocations: 209.5 kB / 0.5533 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.3213, allocations: 0 / 0.5533 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.3213, allocations: 31.75 kB / 0.5533 GB, free: 9.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.213e-06/0.3213, allocations: 1.125 kB / 0.5533 GB, free: 9.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009697/0.3223, allocations: 0.7304 MB / 0.554 GB, free: 8.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/0.3224, allocations: 116.2 kB / 0.5542 GB, free: 8.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.3225, allocations: 165.7 kB / 0.5543 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3226, allocations: 25.7 kB / 0.5543 GB, free: 8.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.3226, allocations: 106.6 kB / 0.5544 GB, free: 8.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.3228, allocations: 142 kB / 0.5546 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.3228, allocations: 41.41 kB / 0.5546 GB, free: 8.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.323, allocations: 330.2 kB / 0.5549 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.3232, allocations: 200 kB / 0.5551 GB, free: 7.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.3235, allocations: 201.6 kB / 0.5553 GB, free: 7.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.324, allocations: 469.1 kB / 0.5558 GB, free: 7.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.324, allocations: 4.031 kB / 0.5558 GB, free: 7.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000575/0.3245, allocations: 484.7 kB / 0.5562 GB, free: 6.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.3246, allocations: 85.64 kB / 0.5563 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3246, allocations: 0 / 0.5563 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3247, allocations: 0 / 0.5563 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.896e-06/0.3247, allocations: 3.984 kB / 0.5563 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3247, allocations: 0 / 0.5563 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.3247, allocations: 15.89 kB / 0.5563 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.3248, allocations: 8 kB / 0.5563 GB, free: 6.445 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.0002402/0.325, allocations: 235.4 kB / 0.5566 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.3251, allocations: 31.8 kB / 0.5566 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.3251, allocations: 14.69 kB / 0.5566 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3251, allocations: 3.984 kB / 0.5566 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3251, allocations: 0 / 0.5566 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.3251, allocations: 0 / 0.5566 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.3253, allocations: 165 kB / 0.5568 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3253, allocations: 0 / 0.5568 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-06/0.3253, allocations: 3.984 kB / 0.5568 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.3253, allocations: 0 / 0.5568 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.3253, allocations: 8 kB / 0.5568 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3253, allocations: 3.938 kB / 0.5568 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3253, allocations: 0 / 0.5568 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3263, allocations: 0.7967 MB / 0.5576 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.3263, allocations: 19.8 kB / 0.5576 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.3264, allocations: 11.98 kB / 0.5576 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.3264, allocations: 4 kB / 0.5576 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.3265, allocations: 8 kB / 0.5576 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.3265, allocations: 8 kB / 0.5576 GB, free: 5.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.3266, allocations: 132.2 kB / 0.5577 GB, free: 4.938 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3266, allocations: 0 / 0.5577 GB, free: 4.938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001134/0.3277, allocations: 359.3 kB / 0.5581 GB, free: 4.586 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.0009913/0.3287, allocations: 381.9 kB / 0.5584 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009908/0.3297, allocations: 0.7757 MB / 0.5592 GB, free: 3.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3297, allocations: 0 / 0.5592 GB, free: 3.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.3302, allocations: 444.9 kB / 0.5596 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.3305, allocations: 25.98 kB / 0.5596 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3316, allocations: 0.8143 MB / 0.5604 GB, free: 2.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.3318, allocations: 140 kB / 0.5606 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.3318, allocations: 11.44 kB / 0.5606 GB, free: 1.902 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3318, allocations: 3.938 kB / 0.5606 GB, free: 1.898 MB / 398.1 MB Notification: Performance of Templates: time 0.01213/0.3439, allocations: 7.142 MB / 0.5676 GB, free: 10.75 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.92698601540178]