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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 115.5 kB / 17.7 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 188 kB / 18.63 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1743/0.1743, allocations: 38.03 MB / 330.5 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.67 kB / 400.3 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1198, allocations: 58.06 MB / 458.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004828/0.1247, allocations: 3.438 MB / 461.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1268, allocations: 1.442 MB / 463.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1269, allocations: 8 kB / 463.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.128, allocations: 258.9 kB / 463.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007138/0.1287, allocations: 279 kB / 463.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.129, allocations: 111.7 kB / 463.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.1296, allocations: 335.1 kB / 464.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004128/0.13, allocations: 141.8 kB / 464.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.1303, allocations: 147.3 kB / 464.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.1306, allocations: 147.5 kB / 464.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.1306, allocations: 16 kB / 464.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005964/0.1312, allocations: 307.2 kB / 464.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.1314, allocations: 107.6 kB / 465 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.1315, allocations: 107.5 kB / 465.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.1321, allocations: 343.1 kB / 465.5 MB, free: 176 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1321, allocations: 0 / 465.5 MB, free: 176 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1321, allocations: 0 / 465.5 MB, free: 176 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.1322, allocations: 0 / 465.5 MB, free: 176 kB / 334.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.0009145/0.1331, allocations: 0.5064 MB / 466 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1331, allocations: 12.03 kB / 466 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.1346, allocations: 100.5 kB / 466.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.135, allocations: 266.9 kB / 466.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.1351, allocations: 20.33 kB / 466.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.1352, allocations: 20.12 kB / 466.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000677/0.1358, allocations: 318.3 kB / 466.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.1359, allocations: 0 / 466.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.1359, allocations: 8 kB / 466.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-05/0.136, allocations: 15.98 kB / 466.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006364/0.1367, allocations: 291.7 kB / 467 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.139, allocations: 1.281 MB / 468.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.1396, allocations: 246.2 kB / 468.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.1397, allocations: 57.75 kB / 468.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.1398, allocations: 3.938 kB / 468.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.1398, allocations: 34.56 kB / 468.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.354e-06/0.1398, allocations: 0 / 468.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008386/0.1407, allocations: 283.4 kB / 468.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.1408, allocations: 93.17 kB / 469 MB, free: 12.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.1411, allocations: 190.3 kB / 469.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.1411, allocations: 33.64 kB / 469.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1412, allocations: 159.8 kB / 469.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.1413, allocations: 51.3 kB / 469.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1414, allocations: 45.61 kB / 469.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1416, allocations: 326.8 kB / 469.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1417, allocations: 47.97 kB / 469.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.142, allocations: 141.7 kB / 470 MB, free: 11.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.1424, allocations: 216.7 kB / 470.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.1424, allocations: 4 kB / 470.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004953/0.1429, allocations: 229 kB / 470.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1429, allocations: 7.938 kB / 470.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.143, allocations: 4 kB / 470.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.143, allocations: 4 kB / 470.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.1433, allocations: 47.92 kB / 470.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.1433, allocations: 8.422 kB / 470.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.1435, allocations: 12 kB / 470.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.1435, allocations: 19.94 kB / 470.5 MB, free: 10.71 MB / 350.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 0.0001913/0.1437, allocations: 154.2 kB / 470.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.1438, allocations: 19.75 kB / 470.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.1442, allocations: 151.2 kB / 470.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1442, allocations: 4 kB / 470.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.1442, allocations: 0 / 470.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1443, allocations: 7.922 kB / 470.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.1455, allocations: 0.6651 MB / 471.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.1455, allocations: 4 kB / 471.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.1457, allocations: 31.92 kB / 471.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.1458, allocations: 7.938 kB / 471.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.1458, allocations: 8.062 kB / 471.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.1458, allocations: 4 kB / 471.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.1458, allocations: 7.984 kB / 471.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.1463, allocations: 331.7 kB / 471.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1464, allocations: 100.8 kB / 472 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.1465, allocations: 15.94 kB / 472 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.1467, allocations: 8 kB / 472 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.1468, allocations: 19.92 kB / 472 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.1468, allocations: 8 kB / 472 MB, free: 8.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.147, allocations: 144.3 kB / 472.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.147, allocations: 0 / 472.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000437/0.1474, allocations: 48 kB / 472.2 MB, free: 8.809 MB / 350.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 0.0001367/0.1476, allocations: 107.1 kB / 472.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003825/0.148, allocations: 152.4 kB / 472.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.148, allocations: 0 / 472.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1481, allocations: 69.28 kB / 472.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.1488, allocations: 36.14 kB / 472.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1499, allocations: 499.8 kB / 473.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.1503, allocations: 0.7593 MB / 473.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.1505, allocations: 45.5 kB / 473.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.1505, allocations: 15.44 kB / 473.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1505, allocations: 0 / 473.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of Templates: time 0.005589/0.1561, allocations: 1.335 MB / 475.2 MB, free: 5.719 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (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 gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) 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) Reference file matches