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.001535/0.001535, allocations: 84.08 kB / 20.68 MB, free: 1.027 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.001661/0.001661, allocations: 171.2 kB / 23.96 MB, free: 4.148 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.387/1.387, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] 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.1692/0.1692, allocations: 29.44 MB / 290.1 MB, free: 3.258 MB / 270.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: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 430.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.916e-05, allocations: 2.281 kB / 430.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003011/0.00303, allocations: 2.145 MB / 432.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008121/0.003842, allocations: 0.5259 MB / 433.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.003876, allocations: 0 / 433.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.004026, allocations: 11.92 kB / 433.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.004106, allocations: 27.78 kB / 433.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.004423, allocations: 79.75 kB / 433.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.00453, allocations: 59.75 kB / 433.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.004566, allocations: 11.98 kB / 433.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.004702, allocations: 39.78 kB / 433.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.593e-05/0.004768, allocations: 31.89 kB / 433.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.004778, allocations: 0 / 433.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.00497, allocations: 95.73 kB / 433.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.005015, allocations: 27.91 kB / 433.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.005038, allocations: 7.938 kB / 433.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.005212, allocations: 91.81 kB / 433.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005213, allocations: 0 / 433.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.92e-07/0.005214, allocations: 0 / 433.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.005217, allocations: 0 / 433.9 MB, free: 14.74 MB / 366.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.0003616/0.005578, allocations: 319.1 kB / 434.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.005611, allocations: 19.92 kB / 434.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.005642, allocations: 4.891 kB / 434.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.005801, allocations: 125.7 kB / 434.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.005811, allocations: 384 / 434.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.005818, allocations: 8.312 kB / 434.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.005954, allocations: 95.92 kB / 434.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.005964, allocations: 3.938 kB / 434.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.005971, allocations: 0 / 434.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-06/0.005974, allocations: 0 / 434.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.315e-05/0.006038, allocations: 61.69 kB / 434.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.006162, allocations: 105.3 kB / 434.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.223e-05/0.006254, allocations: 76.27 kB / 434.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.637e-05/0.006331, allocations: 74.48 kB / 434.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.006337, allocations: 4 kB / 434.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.006363, allocations: 34.56 kB / 434.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.006364, allocations: 0 / 434.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000299/0.006662, allocations: 230.6 kB / 435 MB, free: 13.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.006725, allocations: 89.09 kB / 435.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.006817, allocations: 109.8 kB / 435.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.006832, allocations: 25.7 kB / 435.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.00688, allocations: 92.08 kB / 435.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.006918, allocations: 23.8 kB / 435.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.006953, allocations: 21.66 kB / 435.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.007093, allocations: 322.8 kB / 435.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.335e-05/0.007156, allocations: 57.69 kB / 435.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/0.007222, allocations: 65.7 kB / 435.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.007354, allocations: 136.2 kB / 435.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.007356, allocations: 0 / 435.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000185/0.007541, allocations: 173.5 kB / 436.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.007584, allocations: 41.69 kB / 436.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.007589, allocations: 3.938 kB / 436.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.0076, allocations: 4 kB / 436.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.007601, allocations: 3.938 kB / 436.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.007604, allocations: 0 / 436.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.007625, allocations: 7.875 kB / 436.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.007639, allocations: 8.062 kB / 436.2 MB, free: 12.17 MB / 366.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.0001255/0.007765, allocations: 159.5 kB / 436.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.007781, allocations: 7.953 kB / 436.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.234e-05/0.007794, allocations: 8.375 kB / 436.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.007795, allocations: 0 / 436.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.007798, allocations: 0 / 436.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.007803, allocations: 7.984 kB / 436.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.27e-05/0.007896, allocations: 105.3 kB / 436.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.007897, allocations: 0 / 436.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-06/0.007899, allocations: 4 kB / 436.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.007901, allocations: 0 / 436.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.007912, allocations: 7.984 kB / 436.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.007914, allocations: 3.938 kB / 436.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.007915, allocations: 0 / 436.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.008189, allocations: 248.4 kB / 436.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.008203, allocations: 11.95 kB / 436.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.008217, allocations: 0 / 436.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.008239, allocations: 7.938 kB / 436.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.008257, allocations: 3.938 kB / 436.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.008265, allocations: 4 kB / 436.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.955e-05/0.008325, allocations: 91.27 kB / 436.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008325, allocations: 32 / 436.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.008537, allocations: 31.94 kB / 436.9 MB, free: 11.41 MB / 366.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.0001539/0.00869, allocations: 111.2 kB / 437 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.008972, allocations: 238.7 kB / 437.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.008974, allocations: 0 / 437.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.009119, allocations: 157 kB / 437.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.009288, allocations: 7.938 kB / 437.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.009679, allocations: 258.8 kB / 437.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.288e-05/0.009752, allocations: 75.33 kB / 437.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.047e-05/0.009762, allocations: 0 / 437.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.318e-05/0.009776, allocations: 16.44 kB / 437.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.009776, allocations: 0 / 437.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of Templates: time 0.003672/0.01345, allocations: 1.117 MB / 438.8 MB, free: 9.344 MB / 366.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.411845657974482]