Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.000768/0.000768, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003382/0.003382, allocations: 157.8 kB / 24.7 MB, free: 8.891 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 0.8751/0.8751, allocations: 177.1 MB / 205 MB, free: 5.734 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.2012/0.2012, allocations: 29.41 MB / 290.9 MB, free: 2.43 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_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.5e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.002413/0.002438, allocations: 2.192 MB / 433.7 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.004755, allocations: 1.906 MB / 435.6 MB, free: 8.957 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.004807, allocations: 3.938 kB / 435.6 MB, free: 8.953 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.00493, allocations: 11.91 kB / 435.6 MB, free: 8.941 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.011e-05/0.00501, allocations: 23.84 kB / 435.6 MB, free: 8.918 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.006919, allocations: 0.9778 MB / 436.6 MB, free: 7.938 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.007039, allocations: 75.64 kB / 436.7 MB, free: 7.863 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.007082, allocations: 8.172 kB / 436.7 MB, free: 7.855 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.007214, allocations: 43.83 kB / 436.7 MB, free: 7.812 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.007283, allocations: 43.88 kB / 436.8 MB, free: 7.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.007295, allocations: 4 kB / 436.8 MB, free: 7.766 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.009354, allocations: 1.898 MB / 438.7 MB, free: 5.863 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.009414, allocations: 31.86 kB / 438.7 MB, free: 5.832 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.009458, allocations: 23.92 kB / 438.7 MB, free: 5.809 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.01126, allocations: 1.5 MB / 440.2 MB, free: 4.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.01127, allocations: 3.984 kB / 440.2 MB, free: 4.301 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01127, allocations: 0 / 440.2 MB, free: 4.301 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.01127, allocations: 4 kB / 440.2 MB, free: 4.297 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006936/0.01197, allocations: 0.498 MB / 440.7 MB, free: 3.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.01201, allocations: 15.98 kB / 440.7 MB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.01206, allocations: 20.84 kB / 440.8 MB, free: 3.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.01221, allocations: 137.5 kB / 440.9 MB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.01222, allocations: 384 / 440.9 MB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.01224, allocations: 3.938 kB / 440.9 MB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.01243, allocations: 170.3 kB / 441.1 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.01244, allocations: 0 / 441.1 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.01245, allocations: 0 / 441.1 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.01245, allocations: 0 / 441.1 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.508e-05/0.01255, allocations: 133.6 kB / 441.2 MB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.01266, allocations: 121.2 kB / 441.3 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.01278, allocations: 144.2 kB / 441.5 MB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.01287, allocations: 134.5 kB / 441.6 MB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.01288, allocations: 11.88 kB / 441.6 MB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.01291, allocations: 30.56 kB / 441.6 MB, free: 2.754 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 8.01e-07/0.01291, allocations: 0 / 441.6 MB, free: 2.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004583/0.01336, allocations: 470.8 kB / 442.1 MB, free: 2.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.01342, allocations: 97.11 kB / 442.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.01351, allocations: 152.3 kB / 442.3 MB, free: 2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.01352, allocations: 25.7 kB / 442.4 MB, free: 1.969 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.01356, allocations: 96.64 kB / 442.5 MB, free: 1.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/0.01362, allocations: 87.25 kB / 442.5 MB, free: 1.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.01366, allocations: 29.75 kB / 442.6 MB, free: 1.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.01375, allocations: 330.8 kB / 442.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.01383, allocations: 121.7 kB / 443 MB, free: 1.293 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.01391, allocations: 137.5 kB / 443.1 MB, free: 1.152 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.01409, allocations: 293.6 kB / 443.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.0141, allocations: 0 / 443.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002411/0.01434, allocations: 332.6 kB / 443.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/0.01439, allocations: 64.47 kB / 443.8 MB, free: 452 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.0144, allocations: 0 / 443.8 MB, free: 452 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01441, allocations: 4 kB / 443.8 MB, free: 448 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.552e-06/0.01441, allocations: 0 / 443.8 MB, free: 448 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01442, allocations: 8 kB / 443.8 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.01446, allocations: 11.89 kB / 443.8 MB, free: 428 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.01449, allocations: 8 kB / 443.9 MB, free: 420 kB / 410.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.0001054/0.01459, allocations: 195.5 kB / 444 MB, free: 208 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.01461, allocations: 19.84 kB / 444.1 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.496e-05/0.01462, allocations: 21.19 kB / 444.1 MB, free: 164 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.01463, allocations: 0 / 444.1 MB, free: 164 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01463, allocations: 0 / 444.1 MB, free: 164 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.01463, allocations: 0 / 444.1 MB, free: 164 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.442e-05/0.01471, allocations: 129.2 kB / 444.2 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1719/0.1866, allocations: 4.547 kB / 444.2 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-06/0.1866, allocations: 0 / 444.2 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1866, allocations: 5.219 kB / 444.2 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.1867, allocations: 4.031 kB / 444.2 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1867, allocations: 3.281 kB / 444.2 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1867, allocations: 0.9688 kB / 444.2 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.187, allocations: 0.5089 MB / 444.7 MB, free: 54.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.1871, allocations: 19 kB / 444.8 MB, free: 54.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1871, allocations: 3.281 kB / 444.8 MB, free: 54.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.351e-05/0.1871, allocations: 3.875 kB / 444.8 MB, free: 54.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.1871, allocations: 8.594 kB / 444.8 MB, free: 54.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1871, allocations: 10.19 kB / 444.8 MB, free: 54.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.1872, allocations: 115.8 kB / 444.9 MB, free: 54.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1872, allocations: 1.625 kB / 444.9 MB, free: 54.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007069/0.1879, allocations: 340.1 kB / 445.2 MB, free: 54.12 MB / 410.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.0005826/0.1885, allocations: 415.2 kB / 445.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003176/0.1888, allocations: 0.4973 MB / 446.1 MB, free: 53.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1888, allocations: 0 / 446.1 MB, free: 53.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.1889, allocations: 306 kB / 446.4 MB, free: 53.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.1891, allocations: 13.84 kB / 446.4 MB, free: 53.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.1895, allocations: 0.5445 MB / 447 MB, free: 53.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.819e-05/0.1896, allocations: 108.9 kB / 447.1 MB, free: 53.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/0.1896, allocations: 11.75 kB / 447.1 MB, free: 53.51 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1896, allocations: 4.125 kB / 447.1 MB, free: 53.51 MB / 410.7 MB Notification: Performance of Templates: time 0.005098/0.1947, allocations: 6.535 MB / 453.6 MB, free: 53.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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: 8.02070648316294]