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.001368/0.001368, allocations: 69.33 kB / 21.24 MB, free: 0.5547 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.001575/0.001575, allocations: 162.2 kB / 24.5 MB, free: 3.711 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.476/1.476, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] 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.1773/0.1773, allocations: 29.43 MB / 290.7 MB, free: 3.258 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 59.91 kB / 431.2 MB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3944, allocations: 62.46 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003052/0.3975, allocations: 2.132 MB / 495.8 MB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006622/0.3982, allocations: 0.5204 MB / 496.3 MB, free: 35.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.3982, allocations: 0 / 496.3 MB, free: 35.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.3984, allocations: 13.69 kB / 496.3 MB, free: 35.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.832e-05/0.3984, allocations: 25.77 kB / 496.3 MB, free: 35.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.3988, allocations: 76.66 kB / 496.4 MB, free: 35.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.3989, allocations: 66.58 kB / 496.5 MB, free: 35.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.3989, allocations: 3.188 kB / 496.5 MB, free: 35.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.3991, allocations: 35.17 kB / 496.5 MB, free: 35.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.734e-05/0.3991, allocations: 31.73 kB / 496.5 MB, free: 35.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.3991, allocations: 3.938 kB / 496.6 MB, free: 35.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.3993, allocations: 104 kB / 496.7 MB, free: 35.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.3994, allocations: 37.44 kB / 496.7 MB, free: 35.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.3994, allocations: 37.38 kB / 496.7 MB, free: 35.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.3996, allocations: 150 kB / 496.9 MB, free: 35.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3996, allocations: 0 / 496.9 MB, free: 35.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3996, allocations: 0 / 496.9 MB, free: 35.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3996, allocations: 7.094 kB / 496.9 MB, free: 35.76 MB / 446.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.0003418/0.3999, allocations: 404.4 kB / 497.3 MB, free: 35.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.4, allocations: 13.45 kB / 497.3 MB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.4, allocations: 16.02 kB / 497.3 MB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.4001, allocations: 153.9 kB / 497.5 MB, free: 35.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.4002, allocations: 3.938 kB / 497.5 MB, free: 35.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.4002, allocations: 3.156 kB / 497.5 MB, free: 35.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.4004, allocations: 224.7 kB / 497.7 MB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4004, allocations: 7.172 kB / 497.7 MB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.4004, allocations: 0 / 497.7 MB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.4004, allocations: 4 kB / 497.7 MB, free: 35.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.4005, allocations: 200.9 kB / 497.9 MB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.404e-05/0.4006, allocations: 125.9 kB / 498 MB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.4007, allocations: 218.6 kB / 498.2 MB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.4009, allocations: 203.6 kB / 498.4 MB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.4009, allocations: 0 / 498.4 MB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.4009, allocations: 37.84 kB / 498.5 MB, free: 34.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 8.22e-07/0.4009, allocations: 0 / 498.5 MB, free: 34.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005597/0.4014, allocations: 0.7037 MB / 499.2 MB, free: 34.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4015, allocations: 102.4 kB / 499.3 MB, free: 34.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.4016, allocations: 153.3 kB / 499.4 MB, free: 34.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.4016, allocations: 29.7 kB / 499.4 MB, free: 34.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.4016, allocations: 95 kB / 499.5 MB, free: 34.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.084e-05/0.4017, allocations: 136.1 kB / 499.7 MB, free: 33.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.4017, allocations: 40.42 kB / 499.7 MB, free: 33.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.281e-05/0.4018, allocations: 336 kB / 0.4883 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.4019, allocations: 194.9 kB / 0.4885 GB, free: 33.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.4021, allocations: 191.6 kB / 0.4887 GB, free: 33.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.4024, allocations: 450.1 kB / 0.4891 GB, free: 33.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4024, allocations: 3.25 kB / 0.4891 GB, free: 33.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003363/0.4027, allocations: 458.6 kB / 0.4896 GB, free: 33.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/0.4028, allocations: 89.17 kB / 0.4896 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4028, allocations: 3.188 kB / 0.4896 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4028, allocations: 0 / 0.4896 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.4028, allocations: 0 / 0.4896 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4028, allocations: 3.938 kB / 0.4896 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.4029, allocations: 29.41 kB / 0.4897 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.4029, allocations: 6.5 kB / 0.4897 GB, free: 33.04 MB / 446.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.000139/0.403, allocations: 238.2 kB / 0.4899 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.4031, allocations: 24.86 kB / 0.4899 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.295e-05/0.4031, allocations: 12.45 kB / 0.4899 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.4031, allocations: 4 kB / 0.4899 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4031, allocations: 3.25 kB / 0.4899 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4031, allocations: 0 / 0.4899 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.401e-05/0.4032, allocations: 143.5 kB / 0.4901 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4032, allocations: 0 / 0.4901 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.4032, allocations: 0 / 0.4901 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4032, allocations: 7.266 kB / 0.4901 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.4032, allocations: 6.125 kB / 0.4901 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4032, allocations: 2.969 kB / 0.4901 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4032, allocations: 0 / 0.4901 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.4038, allocations: 0.7792 MB / 0.4909 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.4038, allocations: 29.7 kB / 0.4909 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.4039, allocations: 6.125 kB / 0.4909 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.217e-05/0.4039, allocations: 10.38 kB / 0.4909 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.4039, allocations: 3.219 kB / 0.4909 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.4039, allocations: 6.062 kB / 0.4909 GB, free: 32.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.914e-05/0.404, allocations: 121.8 kB / 0.491 GB, free: 32.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.404, allocations: 0 / 0.491 GB, free: 32.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.4042, allocations: 63.06 kB / 0.4911 GB, free: 32.3 MB / 446.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.0001397/0.4044, allocations: 106.8 kB / 0.4912 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006098/0.405, allocations: 0.7713 MB / 0.4919 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.405, allocations: 0 / 0.4919 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.4053, allocations: 438.3 kB / 0.4924 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.4055, allocations: 32.59 kB / 0.4924 GB, free: 31.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.4063, allocations: 0.7411 MB / 0.4931 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.166e-05/0.4064, allocations: 136.6 kB / 0.4932 GB, free: 31.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.938e-05/0.4064, allocations: 7.25 kB / 0.4933 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.294e-05/0.4064, allocations: 8.5 kB / 0.4933 GB, free: 31.39 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4064, allocations: 0 / 0.4933 GB, free: 31.39 MB / 446.1 MB Notification: Performance of Templates: time 0.00498/0.4114, allocations: 2.814 MB / 0.496 GB, free: 31.05 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins1/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: 5.0018960310844705]