Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.001117/0.001117, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.00268, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000797/0.000797, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008873/0.001684, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9962/0.9962, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07991/1.076, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1771/0.1771, allocations: 29.43 MB / 273.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1256/0.3028, allocations: 9.529 MB / 283 MB, free: 12.86 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.563e-05, allocations: 2.312 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002339/0.002355, allocations: 2.283 MB / 286.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006074/0.002963, allocations: 0.5485 MB / 287.1 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.003, allocations: 0 / 287.1 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.549e-05/0.003066, allocations: 14.17 kB / 287.1 MB, free: 9.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.003147, allocations: 38.23 kB / 287.1 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.003391, allocations: 78.59 kB / 287.2 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003502, allocations: 58.61 kB / 287.3 MB, free: 9.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.003537, allocations: 6.125 kB / 287.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.003661, allocations: 45.7 kB / 287.3 MB, free: 9.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.003709, allocations: 29.02 kB / 287.3 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.003718, allocations: 1.094 kB / 287.3 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.003879, allocations: 95.2 kB / 287.4 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.003916, allocations: 21.17 kB / 287.5 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.003935, allocations: 9.594 kB / 287.5 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.004076, allocations: 97.36 kB / 287.6 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.385e-05/0.00409, allocations: 0 / 287.6 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004091, allocations: 1.281 kB / 287.6 MB, free: 9.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.004105, allocations: 0 / 287.6 MB, free: 9.355 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003126/0.004417, allocations: 314.3 kB / 287.9 MB, free: 9.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.004447, allocations: 13.69 kB / 287.9 MB, free: 9.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.004476, allocations: 4.281 kB / 287.9 MB, free: 9.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.004591, allocations: 126.6 kB / 288 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.004599, allocations: 384 / 288 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.004606, allocations: 1.438 kB / 288 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.78e-05/0.004703, allocations: 85.27 kB / 288.1 MB, free: 8.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.004711, allocations: 7.922 kB / 288.1 MB, free: 8.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-06/0.004716, allocations: 1 kB / 288.1 MB, free: 8.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.004721, allocations: 0 / 288.1 MB, free: 8.828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.548e-05/0.004756, allocations: 53.45 kB / 288.2 MB, free: 8.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.373e-05/0.00482, allocations: 65.92 kB / 288.2 MB, free: 8.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.305e-05/0.004873, allocations: 60.81 kB / 288.3 MB, free: 8.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.004903, allocations: 54.58 kB / 288.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-06/0.004906, allocations: 0 / 288.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.004927, allocations: 32.38 kB / 288.4 MB, free: 8.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 6.61e-07/0.004928, allocations: 4 kB / 288.4 MB, free: 8.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001662/0.005094, allocations: 208.7 kB / 288.6 MB, free: 8.418 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.005118, allocations: 55.34 kB / 288.6 MB, free: 8.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.448e-05/0.005182, allocations: 121.4 kB / 288.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.005191, allocations: 25.7 kB / 288.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.005214, allocations: 86.67 kB / 288.9 MB, free: 8.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.005255, allocations: 40.03 kB / 288.9 MB, free: 8.082 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.005285, allocations: 20.58 kB / 288.9 MB, free: 8.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003299/0.005615, allocations: 325.2 kB / 289.2 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.005657, allocations: 55.52 kB / 289.3 MB, free: 7.695 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.005684, allocations: 49.34 kB / 289.3 MB, free: 7.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.027e-05/0.005755, allocations: 121.3 kB / 289.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005756, allocations: 0 / 289.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.339e-05/0.00585, allocations: 146 kB / 289.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.00589, allocations: 50.25 kB / 289.6 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.005895, allocations: 0 / 289.6 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.343e-06/0.005902, allocations: 1.156 kB / 289.6 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-06/0.005907, allocations: 3.984 kB / 289.7 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.00591, allocations: 3.938 kB / 289.7 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.005932, allocations: 11.02 kB / 289.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.005946, allocations: 3.344 kB / 289.7 MB, free: 7.398 MB / 282.7 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 7.308e-05/0.006019, allocations: 158.2 kB / 289.8 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.006031, allocations: 12.23 kB / 289.8 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.208e-05/0.006043, allocations: 7.188 kB / 289.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.006045, allocations: 0 / 289.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.006047, allocations: 3.938 kB / 289.8 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.006051, allocations: 5.359 kB / 289.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.455e-05/0.006105, allocations: 76.75 kB / 289.9 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006106, allocations: 1.375 kB / 289.9 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.006107, allocations: 0 / 289.9 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-06/0.006115, allocations: 6.703 kB / 289.9 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.006117, allocations: 1.375 kB / 289.9 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.006123, allocations: 6.75 kB / 289.9 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.006125, allocations: 3.984 kB / 289.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.006126, allocations: 3.938 kB / 290 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.006271, allocations: 205.8 kB / 290.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.006282, allocations: 2.75 kB / 290.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.157e-05/0.006294, allocations: 2.75 kB / 290.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.006304, allocations: 1.375 kB / 290.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.00631, allocations: 6.734 kB / 290.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.616e-05/0.006327, allocations: 25.03 kB / 290.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006327, allocations: 0 / 290.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001396/0.006466, allocations: 41.34 kB / 290.2 MB, free: 6.93 MB / 282.7 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.0001284/0.006595, allocations: 96.05 kB / 290.3 MB, free: 6.852 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.006758, allocations: 204 kB / 290.5 MB, free: 6.695 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.006762, allocations: 1.156 kB / 290.5 MB, free: 6.695 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.873e-05/0.006831, allocations: 138.7 kB / 290.7 MB, free: 6.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.006959, allocations: 21.05 kB / 290.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.007512, allocations: 266.7 kB / 290.9 MB, free: 6.359 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.007549, allocations: 65.94 kB / 291 MB, free: 6.285 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.774e-05/0.007567, allocations: 1.25 kB / 291 MB, free: 6.285 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.007665, allocations: 78.81 kB / 291.1 MB, free: 6.23 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007666, allocations: 0 / 291.1 MB, free: 6.23 MB / 282.7 MB Notification: Performance of Templates: time 0.002991/0.01066, allocations: 1.506 MB / 292.6 MB, free: 5.504 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.669409607537091]