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.0009752/0.0009752, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.0013/0.0013, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 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.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.7 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.2417/0.2417, allocations: 29.41 MB / 290.9 MB, free: 2.512 MB / 266.7 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.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",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.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 3.938 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.911e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002402/0.002421, allocations: 2.215 MB / 371.9 MB, free: 8.746 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007068/0.003128, allocations: 0.5455 MB / 372.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.003176, allocations: 0 / 372.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.003375, allocations: 11.86 kB / 372.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.343e-05/0.003458, allocations: 35.77 kB / 372.4 MB, free: 8.152 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.003797, allocations: 75.8 kB / 372.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.003923, allocations: 63.7 kB / 372.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.003968, allocations: 0 / 372.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.004131, allocations: 43.83 kB / 372.6 MB, free: 7.973 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.004184, allocations: 35.89 kB / 372.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.004197, allocations: 0 / 372.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.004374, allocations: 99.72 kB / 372.8 MB, free: 7.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.004426, allocations: 11.94 kB / 372.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.004449, allocations: 4 kB / 372.8 MB, free: 7.824 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.004628, allocations: 107.6 kB / 372.9 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.004632, allocations: 8 kB / 372.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004633, allocations: 0 / 372.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.004638, allocations: 0 / 372.9 MB, free: 7.711 MB / 346.7 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.0003542/0.004992, allocations: 410.1 kB / 373.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.005031, allocations: 11.98 kB / 373.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.005072, allocations: 4.938 kB / 373.3 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.005211, allocations: 124.5 kB / 373.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.005221, allocations: 4.359 kB / 373.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.005232, allocations: 384 / 373.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.005367, allocations: 75.88 kB / 373.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.00538, allocations: 11.94 kB / 373.5 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.005389, allocations: 0 / 373.5 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.005397, allocations: 3.938 kB / 373.5 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.895e-05/0.005426, allocations: 33.7 kB / 373.6 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.005538, allocations: 124.6 kB / 373.7 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.057e-05/0.005598, allocations: 68.75 kB / 373.7 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.005629, allocations: 41.42 kB / 373.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-06/0.005634, allocations: 7.938 kB / 373.8 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.005656, allocations: 33.39 kB / 373.8 MB, free: 6.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.005657, allocations: 0 / 373.8 MB, free: 6.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002152/0.005872, allocations: 174.7 kB / 374 MB, free: 6.422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.005914, allocations: 89.09 kB / 374.1 MB, free: 6.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.005998, allocations: 173.9 kB / 374.2 MB, free: 6.129 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.006009, allocations: 29.7 kB / 374.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.006052, allocations: 130.9 kB / 374.4 MB, free: 5.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.006087, allocations: 27.73 kB / 374.4 MB, free: 5.934 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.006118, allocations: 27.38 kB / 374.5 MB, free: 5.898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.006253, allocations: 0.4922 MB / 375 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.006287, allocations: 37.7 kB / 375 MB, free: 5.352 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.00631, allocations: 41.69 kB / 375 MB, free: 5.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/0.006375, allocations: 95.08 kB / 375.1 MB, free: 5.195 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006377, allocations: 4.062 kB / 375.1 MB, free: 5.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001035/0.00648, allocations: 133.2 kB / 375.3 MB, free: 5.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.006517, allocations: 41.69 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.006522, allocations: 4 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.006538, allocations: 3.938 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.519e-06/0.006543, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.006549, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.006565, allocations: 3.938 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.006578, allocations: 4 kB / 375.3 MB, free: 4.98 MB / 346.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 9.192e-05/0.00667, allocations: 194.3 kB / 375.5 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.006682, allocations: 11.98 kB / 375.5 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.0067, allocations: 16.42 kB / 375.5 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.006703, allocations: 3.938 kB / 375.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.006707, allocations: 4 kB / 375.5 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.00671, allocations: 0 / 375.5 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.432e-05/0.006784, allocations: 124.6 kB / 375.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006785, allocations: 0 / 375.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.006786, allocations: 3.938 kB / 375.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006787, allocations: 0 / 375.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.006796, allocations: 4 kB / 375.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006797, allocations: 320 / 375.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.0068, allocations: 11.92 kB / 375.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.006957, allocations: 191.8 kB / 375.9 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.006973, allocations: 11.89 kB / 375.9 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.006986, allocations: 0 / 375.9 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.148e-05/0.006998, allocations: 7.938 kB / 375.9 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.007016, allocations: 3.938 kB / 375.9 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.007021, allocations: 4 kB / 375.9 MB, free: 4.316 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.007076, allocations: 131.2 kB / 376 MB, free: 4.188 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.007076, allocations: 0 / 376 MB, free: 4.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.00725, allocations: 27.94 kB / 376 MB, free: 4.16 MB / 346.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.0001572/0.007407, allocations: 115.2 kB / 376.2 MB, free: 4.035 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.007585, allocations: 174.5 kB / 376.3 MB, free: 3.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.007588, allocations: 4 kB / 376.3 MB, free: 3.832 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.821e-05/0.007656, allocations: 120.8 kB / 376.5 MB, free: 3.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.007833, allocations: 11.98 kB / 376.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.008153, allocations: 219.6 kB / 376.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.008195, allocations: 67.45 kB / 376.7 MB, free: 3.344 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.405e-05/0.008209, allocations: 4 kB / 376.7 MB, free: 3.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.008224, allocations: 8.5 kB / 376.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of SimCode: time 1.001e-06/0.008225, allocations: 0 / 376.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of Templates: time 0.002852/0.01108, allocations: 1.139 MB / 377.9 MB, free: 2.215 MB / 346.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.13160512316972]