Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001236/0.001236, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005652/0.005652, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.8788/0.8788, allocations: 177.2 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.2022/0.2022, allocations: 29.41 MB / 290.8 MB, free: 2.426 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_matrixEqCirc2,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_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,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_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.994e-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_matrixEqCirc2): time 0.003125/0.003155, allocations: 2.139 MB / 433.6 MB, free: 10.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000827/0.003982, allocations: 0.5337 MB / 434.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.004031, allocations: 7.938 kB / 434.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.004183, allocations: 15.86 kB / 434.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.463e-05/0.004277, allocations: 23.84 kB / 434.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.004711, allocations: 79.69 kB / 434.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.004842, allocations: 59.77 kB / 434.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.004894, allocations: 7.984 kB / 434.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.005203, allocations: 39.83 kB / 434.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.005256, allocations: 23.91 kB / 434.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.005268, allocations: 4 kB / 434.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.005477, allocations: 103.7 kB / 434.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.005536, allocations: 27.92 kB / 434.5 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.005568, allocations: 19.88 kB / 434.6 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.005793, allocations: 127.6 kB / 434.7 MB, free: 9.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.005797, allocations: 0 / 434.7 MB, free: 9.863 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.005799, allocations: 0 / 434.7 MB, free: 9.863 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.005804, allocations: 0 / 434.7 MB, free: 9.863 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.0004243/0.006228, allocations: 359.5 kB / 435 MB, free: 9.477 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.00627, allocations: 11.98 kB / 435 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.006317, allocations: 12.84 kB / 435.1 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.006481, allocations: 138.4 kB / 435.2 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.006493, allocations: 384 / 435.2 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.006504, allocations: 384 / 435.2 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.006714, allocations: 155.9 kB / 435.3 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.006725, allocations: 3.938 kB / 435.4 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.006734, allocations: 0 / 435.4 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.006739, allocations: 3.984 kB / 435.4 MB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.006861, allocations: 129.5 kB / 435.5 MB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.006992, allocations: 125.2 kB / 435.6 MB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.007141, allocations: 136.2 kB / 435.7 MB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.007259, allocations: 134.5 kB / 435.9 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.007268, allocations: 4 kB / 435.9 MB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.007296, allocations: 34.56 kB / 435.9 MB, free: 8.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.007297, allocations: 0 / 435.9 MB, free: 8.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005513/0.007849, allocations: 450 kB / 436.3 MB, free: 8.039 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.007909, allocations: 101.1 kB / 436.4 MB, free: 7.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.008011, allocations: 132.8 kB / 436.6 MB, free: 7.785 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.008024, allocations: 25.7 kB / 436.6 MB, free: 7.754 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.008076, allocations: 100.6 kB / 436.7 MB, free: 7.652 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.752e-05/0.008143, allocations: 75.3 kB / 436.8 MB, free: 7.578 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.008189, allocations: 29.7 kB / 436.8 MB, free: 7.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.00829, allocations: 326.9 kB / 437.1 MB, free: 7.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.008406, allocations: 129.5 kB / 437.2 MB, free: 7.082 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.008509, allocations: 121.7 kB / 437.4 MB, free: 6.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.00876, allocations: 290.1 kB / 437.6 MB, free: 6.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.008763, allocations: 3.938 kB / 437.7 MB, free: 6.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000567/0.009329, allocations: 305.6 kB / 438 MB, free: 6.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.808e-05/0.009398, allocations: 65.66 kB / 438 MB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.009406, allocations: 3.938 kB / 438 MB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.009422, allocations: 0 / 438 MB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/0.009424, allocations: 4 kB / 438 MB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.00943, allocations: 3.984 kB / 438 MB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.009471, allocations: 15.95 kB / 438 MB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.009494, allocations: 4 kB / 438 MB, free: 6.238 MB / 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.0001415/0.009635, allocations: 191.5 kB / 438.2 MB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.009657, allocations: 11.95 kB / 438.2 MB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.009681, allocations: 17.22 kB / 438.3 MB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009683, allocations: 0 / 438.3 MB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.009688, allocations: 4 kB / 438.3 MB, free: 6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009691, allocations: 3.938 kB / 438.3 MB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.829e-05/0.009789, allocations: 129.2 kB / 438.4 MB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.009791, allocations: 0 / 438.4 MB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.009792, allocations: 4 kB / 438.4 MB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.009794, allocations: 0 / 438.4 MB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.009808, allocations: 7.984 kB / 438.4 MB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.009811, allocations: 3.938 kB / 438.4 MB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.009814, allocations: 3.938 kB / 438.4 MB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.01034, allocations: 0.4962 MB / 438.9 MB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.01036, allocations: 15.84 kB / 438.9 MB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.01038, allocations: 8 kB / 438.9 MB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.01041, allocations: 7.938 kB / 438.9 MB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.01043, allocations: 7.984 kB / 438.9 MB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.01045, allocations: 4 kB / 439 MB, free: 5.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.578e-05/0.01051, allocations: 110.3 kB / 439.1 MB, free: 5.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01051, allocations: 0 / 439.1 MB, free: 5.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.01079, allocations: 43.94 kB / 439.1 MB, free: 5.102 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.0002126/0.011, allocations: 111.2 kB / 439.2 MB, free: 4.984 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005285/0.01153, allocations: 0.4945 MB / 439.7 MB, free: 4.465 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01153, allocations: 0 / 439.7 MB, free: 4.465 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.01179, allocations: 297 kB / 440 MB, free: 4.156 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.01204, allocations: 20.11 kB / 440 MB, free: 4.137 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.01276, allocations: 0.5208 MB / 440.5 MB, free: 3.578 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.957e-05/0.01286, allocations: 109 kB / 440.6 MB, free: 3.449 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.01288, allocations: 8.5 kB / 440.7 MB, free: 3.438 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01288, allocations: 0 / 440.7 MB, free: 3.438 MB / 410.7 MB Notification: Performance of Templates: time 0.003527/0.01641, allocations: 1.765 MB / 442.4 MB, free: 1.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.707428123801947]