Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.0009321/0.0009321, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001034/0.001034, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 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.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2668/0.2668, allocations: 29.42 MB / 291.2 MB, free: 2.355 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.304e-05, allocations: 2.312 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.004987/0.00502, allocations: 2.262 MB / 319.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.005797, allocations: 0.5538 MB / 319.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.005852, allocations: 0 / 319.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.006023, allocations: 7.922 kB / 319.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.006153, allocations: 35.7 kB / 319.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.006558, allocations: 75.81 kB / 319.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.006669, allocations: 63.64 kB / 319.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.006711, allocations: 11.97 kB / 319.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.006854, allocations: 39.89 kB / 319.9 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.006902, allocations: 19.91 kB / 320 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.006914, allocations: 4 kB / 320 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.007118, allocations: 99.78 kB / 320.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.007181, allocations: 39.86 kB / 320.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.00721, allocations: 27.86 kB / 320.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.007395, allocations: 143.4 kB / 320.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.0074, allocations: 8 kB / 320.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.007402, allocations: 0 / 320.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.007408, allocations: 0 / 320.3 MB, free: 12.54 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003796/0.007788, allocations: 381.7 kB / 320.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.007825, allocations: 15.98 kB / 320.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.007858, allocations: 8.875 kB / 320.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.008027, allocations: 142 kB / 320.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.008036, allocations: 384 / 320.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.008045, allocations: 4.375 kB / 320.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.008193, allocations: 124 kB / 320.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.008202, allocations: 4 kB / 320.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.008212, allocations: 3.984 kB / 320.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.008219, allocations: 0 / 320.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.706e-05/0.008266, allocations: 74.02 kB / 321 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001061/0.008372, allocations: 80.31 kB / 321.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.173e-05/0.008454, allocations: 92.59 kB / 321.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.008501, allocations: 86.88 kB / 321.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-06/0.008504, allocations: 0 / 321.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.008529, allocations: 34.56 kB / 321.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 9.72e-07/0.00853, allocations: 3.938 kB / 321.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003335/0.008864, allocations: 391.6 kB / 321.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.008934, allocations: 105.1 kB / 321.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.009042, allocations: 136.5 kB / 321.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.009056, allocations: 25.7 kB / 322 MB, free: 10.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.009091, allocations: 96.77 kB / 322 MB, free: 10.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.009192, allocations: 130.8 kB / 322.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.009231, allocations: 29.69 kB / 322.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.009347, allocations: 334.8 kB / 322.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.009408, allocations: 88.52 kB / 322.6 MB, free: 9.988 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.747e-05/0.009456, allocations: 74.67 kB / 322.7 MB, free: 9.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.009584, allocations: 210 kB / 322.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009586, allocations: 4.062 kB / 322.9 MB, free: 9.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001944/0.00978, allocations: 256.9 kB / 323.2 MB, free: 9.414 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.737e-05/0.009848, allocations: 81.56 kB / 323.2 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.009856, allocations: 0 / 323.2 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.009879, allocations: 4 kB / 323.2 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-06/0.009881, allocations: 0 / 323.2 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.009884, allocations: 0 / 323.2 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.633e-05/0.009921, allocations: 19.83 kB / 323.3 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.009942, allocations: 4 kB / 323.3 MB, free: 9.301 MB / 298.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 0.0001208/0.01006, allocations: 202.2 kB / 323.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.01009, allocations: 35.94 kB / 323.5 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/0.01011, allocations: 13.97 kB / 323.5 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01011, allocations: 0 / 323.5 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01012, allocations: 0 / 323.5 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.01012, allocations: 0 / 323.5 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.046e-05/0.0102, allocations: 105.6 kB / 323.6 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.0102, allocations: 0 / 323.6 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.0102, allocations: 0 / 323.6 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.0102, allocations: 0 / 323.6 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.01022, allocations: 8 kB / 323.6 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01022, allocations: 3.938 kB / 323.6 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01022, allocations: 4 kB / 323.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.01053, allocations: 406 kB / 324 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.01055, allocations: 27.78 kB / 324 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.01057, allocations: 4 kB / 324.1 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.107e-05/0.01059, allocations: 11.94 kB / 324.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.01061, allocations: 0 / 324.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.01062, allocations: 8 kB / 324.1 MB, free: 8.418 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.466e-05/0.01065, allocations: 36.58 kB / 324.1 MB, free: 8.383 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01065, allocations: 0 / 324.1 MB, free: 8.383 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.01084, allocations: 59.94 kB / 324.2 MB, free: 8.324 MB / 298.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.0001647/0.011, allocations: 112.3 kB / 324.3 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002871/0.01129, allocations: 351.5 kB / 324.6 MB, free: 7.832 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.0113, allocations: 4 kB / 324.6 MB, free: 7.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.01144, allocations: 237.8 kB / 324.9 MB, free: 7.574 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.01161, allocations: 35.91 kB / 324.9 MB, free: 7.539 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.01215, allocations: 0.4936 MB / 325.4 MB, free: 7.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.794e-05/0.01221, allocations: 95.8 kB / 325.5 MB, free: 6.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.472e-05/0.01223, allocations: 256 / 325.5 MB, free: 6.898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.01238, allocations: 107.3 kB / 325.6 MB, free: 6.793 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01238, allocations: 0 / 325.6 MB, free: 6.793 MB / 298.7 MB Notification: Performance of Templates: time 0.004988/0.01737, allocations: 2.938 MB / 328.5 MB, free: 3.918 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.002670419868082]