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.001337/0.001337, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001474/0.001474, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.377/1.377, allocations: 177.1 MB / 204.3 MB, free: 9.168 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.1675/0.1675, allocations: 29.43 MB / 290.1 MB, free: 3.277 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_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",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.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.139e-05, allocations: 5.234 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.00318/0.003202, allocations: 2.145 MB / 432.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008769/0.004079, allocations: 0.5259 MB / 433.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.004121, allocations: 7.938 kB / 433.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.004236, allocations: 15.92 kB / 433.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.00432, allocations: 19.89 kB / 433.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.004707, allocations: 83.67 kB / 433.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.00484, allocations: 63.77 kB / 433.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.004878, allocations: 4 kB / 433.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.005021, allocations: 39.83 kB / 433.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.005075, allocations: 27.91 kB / 433.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.005086, allocations: 3.938 kB / 433.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.005295, allocations: 99.73 kB / 433.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.005358, allocations: 47.84 kB / 433.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.005392, allocations: 15.88 kB / 433.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.005618, allocations: 151.5 kB / 434 MB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.00562, allocations: 0 / 434 MB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005621, allocations: 0 / 434 MB, free: 14.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.005625, allocations: 0 / 434 MB, free: 14.67 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004753/0.006101, allocations: 411.1 kB / 434.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.006133, allocations: 11.98 kB / 434.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.006174, allocations: 16.84 kB / 434.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.006344, allocations: 138.1 kB / 434.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.006353, allocations: 4.375 kB / 434.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.006364, allocations: 384 / 434.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.006631, allocations: 224.2 kB / 434.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.006639, allocations: 0 / 434.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.006646, allocations: 0 / 434.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.006649, allocations: 0 / 434.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.006838, allocations: 186 kB / 434.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.006986, allocations: 133.8 kB / 435.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.007222, allocations: 204.5 kB / 435.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.007421, allocations: 194.8 kB / 435.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.00743, allocations: 4 kB / 435.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.007472, allocations: 50.42 kB / 435.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.012e-06/0.007473, allocations: 4 kB / 435.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007571/0.00823, allocations: 0.6751 MB / 436.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.008305, allocations: 109.1 kB / 436.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.008448, allocations: 146.4 kB / 436.4 MB, free: 12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.008466, allocations: 25.7 kB / 436.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.008529, allocations: 96.78 kB / 436.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.008636, allocations: 134.8 kB / 436.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.008683, allocations: 29.7 kB / 436.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.008842, allocations: 338.8 kB / 437 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.009018, allocations: 181.6 kB / 437.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.009198, allocations: 185.6 kB / 437.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.009614, allocations: 437.3 kB / 437.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.009616, allocations: 0 / 437.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004638/0.01008, allocations: 444.7 kB / 438.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.01018, allocations: 85.64 kB / 438.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01019, allocations: 3.984 kB / 438.4 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.0102, allocations: 0 / 438.4 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.0102, allocations: 0 / 438.4 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.01021, allocations: 3.984 kB / 438.4 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.01026, allocations: 27.84 kB / 438.4 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.01029, allocations: 8 kB / 438.4 MB, free: 9.961 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.0002097/0.0105, allocations: 231.4 kB / 438.6 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.01053, allocations: 27.8 kB / 438.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.595e-05/0.01055, allocations: 13.97 kB / 438.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.01055, allocations: 0 / 438.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.01055, allocations: 0 / 438.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.01056, allocations: 3.938 kB / 438.7 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.01069, allocations: 145.1 kB / 438.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01069, allocations: 0 / 438.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.0107, allocations: 4 kB / 438.8 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.0107, allocations: 7.938 kB / 438.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.01072, allocations: 4 kB / 438.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.01072, allocations: 3.938 kB / 438.8 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01072, allocations: 0 / 438.8 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008861/0.0116, allocations: 0.7538 MB / 439.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.01164, allocations: 35.67 kB / 439.6 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.01166, allocations: 4 kB / 439.6 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.0117, allocations: 11.94 kB / 439.6 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.01173, allocations: 3.984 kB / 439.6 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.01175, allocations: 8 kB / 439.6 MB, free: 8.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.339e-05/0.01184, allocations: 118.3 kB / 439.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01184, allocations: 0 / 439.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.0121, allocations: 63.94 kB / 439.8 MB, free: 8.461 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.00021/0.01231, allocations: 127.1 kB / 439.9 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008627/0.01317, allocations: 0.7406 MB / 440.7 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01317, allocations: 0 / 440.7 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.01362, allocations: 428.9 kB / 441.1 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.01386, allocations: 43.48 kB / 441.1 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009588/0.01482, allocations: 0.7035 MB / 441.8 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.01497, allocations: 139.7 kB / 442 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.84e-05/0.01499, allocations: 0 / 442 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.015, allocations: 12.44 kB / 442 MB, free: 6.168 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.015, allocations: 0 / 442 MB, free: 6.168 MB / 366.1 MB Notification: Performance of Templates: time 0.006198/0.0212, allocations: 2.784 MB / 444.8 MB, free: 3.402 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.476139586418867]