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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1785/0.1785, allocations: 38.53 MB / 344.5 MB, free: 2.605 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.88 kB / 482.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3379, allocations: 61.23 MB / 0.5306 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003096/0.341, allocations: 2.117 MB / 0.5326 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006856/0.3417, allocations: 0.5298 MB / 0.5332 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.3417, allocations: 1.25 kB / 0.5332 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.3419, allocations: 15.36 kB / 0.5332 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.342, allocations: 31.89 kB / 0.5332 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.3423, allocations: 59.2 kB / 0.5333 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3424, allocations: 63.05 kB / 0.5333 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.3425, allocations: 3.047 kB / 0.5333 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3426, allocations: 33.91 kB / 0.5334 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.859e-05/0.3427, allocations: 37.41 kB / 0.5334 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.3427, allocations: 0 / 0.5334 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.3429, allocations: 88.7 kB / 0.5335 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.3429, allocations: 15.19 kB / 0.5335 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.343, allocations: 17.88 kB / 0.5335 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.3432, allocations: 98.91 kB / 0.5336 GB, free: 3.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3432, allocations: 0 / 0.5336 GB, free: 3.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3432, allocations: 4.641 kB / 0.5336 GB, free: 3.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3432, allocations: 0 / 0.5336 GB, free: 3.488 MB / 382.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.0003234/0.3435, allocations: 390.7 kB / 0.534 GB, free: 3.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3435, allocations: 14.11 kB / 0.534 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.3436, allocations: 4.281 kB / 0.534 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.3437, allocations: 184.5 kB / 0.5342 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3437, allocations: 5.469 kB / 0.5342 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.3437, allocations: 5.344 kB / 0.5342 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.3438, allocations: 56.28 kB / 0.5342 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3438, allocations: 0 / 0.5342 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3438, allocations: 0 / 0.5342 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3438, allocations: 0 / 0.5342 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.354e-05/0.3439, allocations: 23.3 kB / 0.5343 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.344, allocations: 160.5 kB / 0.5344 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.955e-05/0.344, allocations: 45.62 kB / 0.5345 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.3441, allocations: 25.03 kB / 0.5345 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-06/0.3441, allocations: 1 kB / 0.5345 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.3441, allocations: 32.11 kB / 0.5345 GB, free: 2.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.3441, allocations: 0 / 0.5345 GB, free: 2.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002279/0.3443, allocations: 144.4 kB / 0.5346 GB, free: 2.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.3444, allocations: 88.36 kB / 0.5347 GB, free: 2.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.3444, allocations: 115.9 kB / 0.5348 GB, free: 2.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.3444, allocations: 25.7 kB / 0.5349 GB, free: 2.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.3445, allocations: 87.19 kB / 0.5349 GB, free: 2.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.3445, allocations: 29.44 kB / 0.535 GB, free: 2.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.3445, allocations: 18.36 kB / 0.535 GB, free: 2.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.3446, allocations: 322.7 kB / 0.5353 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.403e-05/0.3446, allocations: 22.11 kB / 0.5353 GB, free: 1.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.3446, allocations: 17.34 kB / 0.5353 GB, free: 1.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.963e-05/0.3447, allocations: 129.7 kB / 0.5355 GB, free: 1.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3447, allocations: 1.375 kB / 0.5355 GB, free: 1.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001248/0.3449, allocations: 127.3 kB / 0.5356 GB, free: 1.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.3449, allocations: 45.7 kB / 0.5356 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3449, allocations: 0.75 kB / 0.5356 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3449, allocations: 1.094 kB / 0.5356 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.3449, allocations: 0 / 0.5356 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3449, allocations: 1.938 kB / 0.5356 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.345, allocations: 1.469 kB / 0.5356 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.345, allocations: 3.438 kB / 0.5356 GB, free: 1.57 MB / 382.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 8.399e-05/0.3451, allocations: 163.2 kB / 0.5358 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.3451, allocations: 10.3 kB / 0.5358 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.246e-05/0.3451, allocations: 10.78 kB / 0.5358 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3451, allocations: 3.938 kB / 0.5358 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3451, allocations: 0 / 0.5358 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3451, allocations: 2.125 kB / 0.5358 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.258e-05/0.3452, allocations: 170.4 kB / 0.536 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3452, allocations: 0 / 0.536 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.3452, allocations: 0.5625 kB / 0.536 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3452, allocations: 4 kB / 0.536 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3452, allocations: 3.688 kB / 0.536 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3452, allocations: 0 / 0.536 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3452, allocations: 0 / 0.536 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.3454, allocations: 220.8 kB / 0.5362 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.3454, allocations: 87.23 kB / 0.5363 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3454, allocations: 2.344 kB / 0.5363 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.651e-05/0.3455, allocations: 5.922 kB / 0.5363 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.3455, allocations: 10.41 kB / 0.5363 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.3455, allocations: 3.141 kB / 0.5363 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.458e-05/0.3455, allocations: 90.98 kB / 0.5364 GB, free: 0.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3455, allocations: 0 / 0.5364 GB, free: 0.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.3457, allocations: 27.69 kB / 0.5364 GB, free: 0.8711 MB / 382.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.0001426/0.3459, allocations: 115.1 kB / 0.5365 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.3461, allocations: 167.1 kB / 0.5367 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3461, allocations: 0 / 0.5367 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.3462, allocations: 127.7 kB / 0.5368 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.3464, allocations: 14.09 kB / 0.5368 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.3468, allocations: 212.5 kB / 0.537 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.347, allocations: 0.6903 MB / 0.5377 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.447e-05/0.347, allocations: 2.078 kB / 0.5377 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.347, allocations: 8.812 kB / 0.5377 GB, free: 15.78 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.347, allocations: 4.062 kB / 0.5377 GB, free: 15.77 MB / 398.1 MB Notification: Performance of Templates: time 0.003845/0.3509, allocations: 1.098 MB / 0.5388 GB, free: 15.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins/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: 4.882616641931236]