Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.001655/0.001655, allocations: 67.77 kB / 21.24 MB, free: 404 kB / 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.002212/0.002212, allocations: 168.6 kB / 24.5 MB, free: 3.453 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.528/1.528, allocations: 177.2 MB / 204.9 MB, free: 8.926 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.2084/0.2084, allocations: 29.43 MB / 290.7 MB, free: 3.281 MB / 270.1 MB " [Timeout remaining time 179] 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.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") [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.002436/0.002436, allocations: 75.02 kB / 431.2 MB, free: 3.238 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4417, allocations: 62.44 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004557/0.4463, allocations: 3.424 MB / 497.1 MB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.4481, allocations: 1.376 MB / 498.4 MB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.4482, allocations: 10.44 kB / 498.4 MB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000845/0.4491, allocations: 251.5 kB / 498.7 MB, free: 34.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.4496, allocations: 280.3 kB / 499 MB, free: 34.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.4498, allocations: 112.3 kB / 499.1 MB, free: 34.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.4501, allocations: 343.7 kB / 499.4 MB, free: 34.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.4504, allocations: 119.3 kB / 499.5 MB, free: 33.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.4506, allocations: 163 kB / 499.7 MB, free: 33.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.4508, allocations: 158.1 kB / 499.8 MB, free: 33.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.4508, allocations: 19.03 kB / 499.9 MB, free: 33.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.4512, allocations: 267.1 kB / 0.4884 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.4513, allocations: 106.5 kB / 0.4885 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.688e-05/0.4513, allocations: 85.11 kB / 0.4886 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.4517, allocations: 341.8 kB / 0.4889 GB, free: 33.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4517, allocations: 3.031 kB / 0.4889 GB, free: 33.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4517, allocations: 3.938 kB / 0.4889 GB, free: 33.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.4517, allocations: 0 / 0.4889 GB, free: 33.54 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005633/0.4523, allocations: 443.1 kB / 0.4893 GB, free: 33.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4523, allocations: 13.48 kB / 0.4893 GB, free: 33.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007929/0.4531, allocations: 91.84 kB / 0.4894 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.4534, allocations: 212.4 kB / 0.4896 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4534, allocations: 14.41 kB / 0.4896 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.4535, allocations: 24.89 kB / 0.4897 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.4539, allocations: 315.9 kB / 0.49 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.4539, allocations: 0 / 0.49 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.4539, allocations: 11.94 kB / 0.49 GB, free: 32.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.4539, allocations: 16.34 kB / 0.49 GB, free: 32.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.4543, allocations: 287.2 kB / 0.4903 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.4555, allocations: 1.172 MB / 0.4914 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.4558, allocations: 148.4 kB / 0.4916 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/0.4559, allocations: 51.5 kB / 0.4916 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.4559, allocations: 3.344 kB / 0.4916 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.4559, allocations: 41.97 kB / 0.4916 GB, free: 31.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.4559, allocations: 3.094 kB / 0.4917 GB, free: 31.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005261/0.4564, allocations: 296.8 kB / 0.4919 GB, free: 31.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.4565, allocations: 80.23 kB / 0.492 GB, free: 31.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.4566, allocations: 191.5 kB / 0.4922 GB, free: 31.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.4566, allocations: 29.7 kB / 0.4922 GB, free: 31.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.4567, allocations: 163 kB / 0.4924 GB, free: 31.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.4567, allocations: 51.95 kB / 0.4924 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.4568, allocations: 44.09 kB / 0.4925 GB, free: 31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.4568, allocations: 325.5 kB / 0.4928 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.4569, allocations: 49.97 kB / 0.4928 GB, free: 30.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.457, allocations: 143.2 kB / 0.493 GB, free: 30.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.4572, allocations: 215.4 kB / 0.4932 GB, free: 30.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4572, allocations: 0 / 0.4932 GB, free: 30.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002557/0.4574, allocations: 235 kB / 0.4934 GB, free: 30.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4574, allocations: 8.281 kB / 0.4934 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4575, allocations: 3.125 kB / 0.4934 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4575, allocations: 3.312 kB / 0.4934 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.4576, allocations: 50.72 kB / 0.4935 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.4576, allocations: 6.375 kB / 0.4935 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.4577, allocations: 7.375 kB / 0.4935 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.4577, allocations: 9.969 kB / 0.4935 GB, free: 30.22 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 9.983e-05/0.4578, allocations: 164.8 kB / 0.4936 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.4579, allocations: 18.09 kB / 0.4937 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.4581, allocations: 157 kB / 0.4938 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4581, allocations: 0 / 0.4938 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.4581, allocations: 7.219 kB / 0.4938 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4581, allocations: 0 / 0.4938 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.4587, allocations: 0.5851 MB / 0.4944 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4587, allocations: 3.344 kB / 0.4944 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.146e-05/0.4588, allocations: 29.61 kB / 0.4944 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.4588, allocations: 6.562 kB / 0.4944 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4588, allocations: 7.219 kB / 0.4944 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.4588, allocations: 10.34 kB / 0.4944 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4588, allocations: 7.156 kB / 0.4944 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.4591, allocations: 334.9 kB / 0.4948 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.4591, allocations: 21.41 kB / 0.4948 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.4591, allocations: 11.16 kB / 0.4948 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.4592, allocations: 13.34 kB / 0.4948 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.4593, allocations: 17.8 kB / 0.4948 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.4593, allocations: 9.344 kB / 0.4948 GB, free: 29.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.045e-05/0.4594, allocations: 134.5 kB / 0.495 GB, free: 29.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4594, allocations: 3.375 kB / 0.495 GB, free: 29.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000338/0.4597, allocations: 43.78 kB / 0.495 GB, free: 29.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 6.899e-05/0.4598, allocations: 97.94 kB / 0.4951 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.46, allocations: 154.1 kB / 0.4952 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.46, allocations: 0 / 0.4952 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.864e-05/0.4601, allocations: 65 kB / 0.4953 GB, free: 28.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.4605, allocations: 38.09 kB / 0.4953 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006165/0.4611, allocations: 0.491 MB / 0.4958 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.4612, allocations: 152 kB / 0.496 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.867e-05/0.4613, allocations: 45.47 kB / 0.496 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.4614, allocations: 18.5 kB / 0.496 GB, free: 28.45 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4614, allocations: 0 / 0.496 GB, free: 28.45 MB / 446.1 MB Notification: Performance of Templates: time 0.003923/0.4653, allocations: 1.226 MB / 0.4972 GB, free: 28.27 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.241684612934478]