Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001329/0.001329, allocations: 73.72 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.001541/0.001541, allocations: 160.8 kB / 24.5 MB, free: 3.715 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.503/1.503, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.1768/0.1768, allocations: 29.43 MB / 290.7 MB, free: 3.262 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.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") [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.002179/0.002179, allocations: 63.91 kB / 431.2 MB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3496, allocations: 62.44 MB / 493.6 MB, free: 37.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004627/0.3542, allocations: 4.472 MB / 498.1 MB, free: 34.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3559, allocations: 1.273 MB / 499.4 MB, free: 33.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.3561, allocations: 16.88 kB / 499.4 MB, free: 33.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009864/0.357, allocations: 388.4 kB / 499.8 MB, free: 33.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.3575, allocations: 253.2 kB / 0.4883 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.3579, allocations: 173.3 kB / 0.4885 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004506/0.3583, allocations: 0.5545 MB / 0.489 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.3586, allocations: 238.1 kB / 0.4892 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.359, allocations: 276.6 kB / 0.4895 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/0.3594, allocations: 281.8 kB / 0.4898 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.3594, allocations: 32.31 kB / 0.4898 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.3597, allocations: 126.2 kB / 0.4899 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.3598, allocations: 199.7 kB / 0.4901 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.36, allocations: 176.6 kB / 0.4903 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.3605, allocations: 0.5229 MB / 0.4908 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3605, allocations: 0 / 0.4908 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3605, allocations: 0 / 0.4908 GB, free: 32.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3605, allocations: 3.938 kB / 0.4908 GB, free: 32.49 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009256/0.3614, allocations: 0.6247 MB / 0.4914 GB, free: 32.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.3614, allocations: 13.45 kB / 0.4914 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005638/0.362, allocations: 101.4 kB / 0.4915 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.3626, allocations: 339.5 kB / 0.4918 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3626, allocations: 31.91 kB / 0.4919 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.3627, allocations: 50.67 kB / 0.4919 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.3633, allocations: 476.7 kB / 0.4924 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.3633, allocations: 3.938 kB / 0.4924 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.3633, allocations: 22.38 kB / 0.4924 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.3634, allocations: 26.28 kB / 0.4924 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.3639, allocations: 348.4 kB / 0.4928 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.3655, allocations: 1.421 MB / 0.4941 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.3658, allocations: 146.4 kB / 0.4943 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3659, allocations: 103.7 kB / 0.4944 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.3659, allocations: 0 / 0.4944 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.3659, allocations: 40.95 kB / 0.4944 GB, free: 30.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.3659, allocations: 4 kB / 0.4944 GB, free: 30.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001266/0.3672, allocations: 0.7461 MB / 0.4952 GB, free: 29.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.3672, allocations: 77.11 kB / 0.4952 GB, free: 29.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.3674, allocations: 291.4 kB / 0.4955 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3674, allocations: 32.86 kB / 0.4955 GB, free: 29.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3676, allocations: 260.9 kB / 0.4958 GB, free: 29.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.3676, allocations: 57.53 kB / 0.4958 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.22e-05/0.3677, allocations: 73.59 kB / 0.4959 GB, free: 29.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.3678, allocations: 341.6 kB / 0.4962 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3679, allocations: 95.53 kB / 0.4963 GB, free: 28.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.3681, allocations: 205.3 kB / 0.4965 GB, free: 28.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.3684, allocations: 332.9 kB / 0.4968 GB, free: 28.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3684, allocations: 2.938 kB / 0.4968 GB, free: 28.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007394/0.3691, allocations: 473.2 kB / 0.4973 GB, free: 28.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3691, allocations: 6.344 kB / 0.4973 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005142/0.3696, allocations: 302 kB / 0.4976 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.3701, allocations: 139.3 kB / 0.4977 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.3703, allocations: 60.81 kB / 0.4978 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.3724, allocations: 2.29 MB / 0.5 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.3726, allocations: 10.44 kB / 0.5 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3726, allocations: 24.88 kB / 0.5 GB, free: 26.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.3728, allocations: 197.6 kB / 0.5002 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.3728, allocations: 28.91 kB / 0.5003 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.3732, allocations: 262.9 kB / 0.5005 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3732, allocations: 3.984 kB / 0.5005 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3732, allocations: 7.125 kB / 0.5005 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.3732, allocations: 0 / 0.5005 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008659/0.3741, allocations: 0.6271 MB / 0.5011 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3741, allocations: 0 / 0.5011 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.3743, allocations: 46.56 kB / 0.5012 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.3744, allocations: 35.72 kB / 0.5012 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.3744, allocations: 3.219 kB / 0.5012 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3744, allocations: 3.188 kB / 0.5012 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.3744, allocations: 0 / 0.5012 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.3749, allocations: 446 kB / 0.5016 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.3749, allocations: 25.22 kB / 0.5017 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.3749, allocations: 7.125 kB / 0.5017 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.3751, allocations: 6.703 kB / 0.5017 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.3751, allocations: 17.48 kB / 0.5017 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.3751, allocations: 7.125 kB / 0.5017 GB, free: 25.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.3753, allocations: 202.7 kB / 0.5019 GB, free: 25.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3753, allocations: 3.531 kB / 0.5019 GB, free: 25.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004352/0.3757, allocations: 92.75 kB / 0.502 GB, free: 25.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.528e-05/0.3758, allocations: 103.9 kB / 0.5021 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005778/0.3764, allocations: 401.1 kB / 0.5025 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3764, allocations: 0 / 0.5025 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.3765, allocations: 102.1 kB / 0.5026 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.377, allocations: 64.58 kB / 0.5026 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.378, allocations: 0.8783 MB / 0.5035 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.3782, allocations: 240.2 kB / 0.5037 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.3784, allocations: 60.48 kB / 0.5038 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.3784, allocations: 30.84 kB / 0.5038 GB, free: 24.14 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3784, allocations: 0 / 0.5038 GB, free: 24.14 MB / 446.1 MB Notification: Performance of Templates: time 0.00693/0.3854, allocations: 3.602 MB / 0.5073 GB, free: 23.71 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.092563253012486]