Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001628/0.001628, 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.001855/0.001855, 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.425/1.425, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.1832/0.1832, 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_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [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.002318/0.002318, allocations: 71.89 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3351, allocations: 62.48 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003574/0.3386, allocations: 2.217 MB / 0.5454 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.342, allocations: 2.097 MB / 0.5475 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.3421, allocations: 1.188 kB / 0.5475 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.3422, allocations: 10.36 kB / 0.5475 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.3423, allocations: 38.52 kB / 0.5475 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.3452, allocations: 0.9804 MB / 0.5485 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.3454, allocations: 80.56 kB / 0.5485 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.3454, allocations: 6.297 kB / 0.5485 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3456, allocations: 38.09 kB / 0.5486 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.691e-05/0.3457, allocations: 48.88 kB / 0.5486 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.3457, allocations: 2.219 kB / 0.5486 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004/0.3497, allocations: 2.243 MB / 0.5508 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.869e-05/0.3497, allocations: 28.2 kB / 0.5508 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.989e-05/0.3498, allocations: 41.55 kB / 0.5509 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.3523, allocations: 1.396 MB / 0.5522 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3523, allocations: 0 / 0.5522 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3523, allocations: 1.094 kB / 0.5523 GB, free: 10.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3524, allocations: 0 / 0.5523 GB, free: 10.04 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009271/0.3533, allocations: 0.4958 MB / 0.5527 GB, free: 9.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3533, allocations: 17.05 kB / 0.5528 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.3534, allocations: 13.47 kB / 0.5528 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3536, allocations: 146.9 kB / 0.5529 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3536, allocations: 0 / 0.5529 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.3536, allocations: 1.156 kB / 0.5529 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.3538, allocations: 95.75 kB / 0.553 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3538, allocations: 7.922 kB / 0.553 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3538, allocations: 1.469 kB / 0.553 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.3538, allocations: 4 kB / 0.553 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.641e-05/0.3539, allocations: 64.59 kB / 0.5531 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.3541, allocations: 165.1 kB / 0.5532 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3542, allocations: 77.08 kB / 0.5533 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.925e-05/0.3543, allocations: 66.23 kB / 0.5534 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.3543, allocations: 0 / 0.5534 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3544, allocations: 35.59 kB / 0.5534 GB, free: 9.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 9.21e-07/0.3544, allocations: 0 / 0.5534 GB, free: 9.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005812/0.355, allocations: 327 kB / 0.5537 GB, free: 8.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.3551, allocations: 100.1 kB / 0.5538 GB, free: 8.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.3552, allocations: 149.5 kB / 0.5539 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3552, allocations: 26.8 kB / 0.554 GB, free: 8.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.3553, allocations: 101.2 kB / 0.5541 GB, free: 8.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.3554, allocations: 72.44 kB / 0.5541 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.3555, allocations: 28.27 kB / 0.5542 GB, free: 8.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3556, allocations: 340.7 kB / 0.5545 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.3557, allocations: 52.48 kB / 0.5545 GB, free: 8.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.3558, allocations: 61.81 kB / 0.5546 GB, free: 8.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.3561, allocations: 257.9 kB / 0.5548 GB, free: 7.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3561, allocations: 0 / 0.5548 GB, free: 7.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003039/0.3564, allocations: 237.5 kB / 0.5551 GB, free: 7.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.128e-05/0.3564, allocations: 66.94 kB / 0.5551 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3565, allocations: 0 / 0.5551 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3565, allocations: 1.156 kB / 0.5551 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.3565, allocations: 4.062 kB / 0.5551 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3565, allocations: 0 / 0.5551 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.503e-05/0.3566, allocations: 21.98 kB / 0.5552 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.3566, allocations: 5.375 kB / 0.5552 GB, free: 7.762 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.0001964/0.3568, allocations: 202.2 kB / 0.5554 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.3568, allocations: 18.53 kB / 0.5554 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.3568, allocations: 7.688 kB / 0.5554 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3568, allocations: 1.375 kB / 0.5554 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.3568, allocations: 0 / 0.5554 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3568, allocations: 4 kB / 0.5554 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.357, allocations: 187.7 kB / 0.5556 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.357, allocations: 0 / 0.5556 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.357, allocations: 0 / 0.5556 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.357, allocations: 0 / 0.5556 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.3571, allocations: 5.625 kB / 0.5556 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3571, allocations: 0 / 0.5556 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3571, allocations: 4.875 kB / 0.5556 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.3577, allocations: 0.5278 MB / 0.5561 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.3578, allocations: 15.84 kB / 0.5561 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.3578, allocations: 4 kB / 0.5561 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.986e-05/0.3578, allocations: 4 kB / 0.5561 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.3578, allocations: 4 kB / 0.5561 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3579, allocations: 8 kB / 0.5561 GB, free: 6.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.642e-05/0.358, allocations: 118.7 kB / 0.5562 GB, free: 6.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.358, allocations: 0 / 0.5562 GB, free: 6.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001219/0.3592, allocations: 335.4 kB / 0.5566 GB, free: 6.492 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.001006/0.3602, allocations: 377.9 kB / 0.5569 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006157/0.3608, allocations: 470.9 kB / 0.5574 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3608, allocations: 0 / 0.5574 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.3611, allocations: 315.2 kB / 0.5577 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.3614, allocations: 16 kB / 0.5577 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/0.3622, allocations: 499.7 kB / 0.5582 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.3626, allocations: 0.7316 MB / 0.5589 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.3626, allocations: 7.438 kB / 0.5589 GB, free: 4.023 MB / 398.1 MB Notification: Performance of SimCode: time 5.3e-07/0.3626, allocations: 0 / 0.5589 GB, free: 4.023 MB / 398.1 MB Notification: Performance of Templates: time 0.01196/0.3745, allocations: 6.452 MB / 0.5652 GB, free: 13.56 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.284438397036865]