Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 112.8 kB / 17.68 MB, free: 5.332 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.001275/0.001276, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.348/1.348, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1748/0.1748, allocations: 38.03 MB / 330.5 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 61 kB / 400.3 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1114, allocations: 58.06 MB / 458.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004688/0.1161, allocations: 3.469 MB / 461.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.1182, allocations: 1.504 MB / 463.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1183, allocations: 7.938 kB / 463.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007594/0.1191, allocations: 255 kB / 463.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000606/0.1197, allocations: 275 kB / 463.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.12, allocations: 127.6 kB / 463.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.1204, allocations: 346.9 kB / 464.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.1207, allocations: 133.9 kB / 464.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.1209, allocations: 147.4 kB / 464.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.1211, allocations: 147.5 kB / 464.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.1211, allocations: 20 kB / 464.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005168/0.1216, allocations: 331.2 kB / 465 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1218, allocations: 99.75 kB / 465.1 MB, free: 484 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.1219, allocations: 111.4 kB / 465.2 MB, free: 372 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.1223, allocations: 355 kB / 465.6 MB, free: 16 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1223, allocations: 0 / 465.6 MB, free: 16 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1224, allocations: 0 / 465.6 MB, free: 16 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1224, allocations: 0 / 465.6 MB, free: 16 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.0007064/0.1231, allocations: 0.5181 MB / 466.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1231, allocations: 8.031 kB / 466.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008781/0.124, allocations: 92.55 kB / 466.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.1244, allocations: 271.8 kB / 466.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1244, allocations: 20.33 kB / 466.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.1245, allocations: 16.38 kB / 466.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.1249, allocations: 322 kB / 466.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.125, allocations: 0 / 466.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.125, allocations: 7.984 kB / 466.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.464e-05/0.125, allocations: 23.98 kB / 466.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.1254, allocations: 283.8 kB / 467.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.1272, allocations: 1.275 MB / 468.4 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.1276, allocations: 233 kB / 468.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.1278, allocations: 97.72 kB / 468.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.1278, allocations: 4 kB / 468.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.1279, allocations: 42.5 kB / 468.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1279, allocations: 0 / 468.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007675/0.1287, allocations: 439.5 kB / 469.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.1287, allocations: 85.11 kB / 469.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1289, allocations: 194.3 kB / 469.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1289, allocations: 29.7 kB / 469.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.129, allocations: 159.9 kB / 469.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.1291, allocations: 59.09 kB / 469.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/0.1291, allocations: 53.83 kB / 469.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1293, allocations: 322.8 kB / 470.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1294, allocations: 91.94 kB / 470.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1296, allocations: 156.4 kB / 470.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.1299, allocations: 271.7 kB / 470.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1299, allocations: 0 / 470.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004033/0.1303, allocations: 289.1 kB / 470.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1303, allocations: 4 kB / 470.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1303, allocations: 4.281 kB / 470.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1304, allocations: 11.94 kB / 470.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.1306, allocations: 59.91 kB / 471 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1306, allocations: 7.984 kB / 471 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.1308, allocations: 15.92 kB / 471 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.1308, allocations: 8 kB / 471 MB, free: 10.26 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.0001338/0.1309, allocations: 153.8 kB / 471.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.131, allocations: 15.81 kB / 471.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.1314, allocations: 231.2 kB / 471.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1314, allocations: 4 kB / 471.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1314, allocations: 4 kB / 471.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.1314, allocations: 0 / 471.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.1327, allocations: 0.952 MB / 472.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1327, allocations: 4 kB / 472.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1329, allocations: 47.94 kB / 472.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.1329, allocations: 4 kB / 472.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1329, allocations: 8 kB / 472.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.1329, allocations: 7.938 kB / 472.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.1329, allocations: 7.938 kB / 472.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.1334, allocations: 415.5 kB / 472.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.1334, allocations: 100.8 kB / 472.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.1335, allocations: 15.92 kB / 472.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1336, allocations: 11.94 kB / 472.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1337, allocations: 31.91 kB / 473 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.1337, allocations: 11.94 kB / 473 MB, free: 8.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1338, allocations: 147.2 kB / 473.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1339, allocations: 0 / 473.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.1342, allocations: 56 kB / 473.2 MB, free: 7.855 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.0001134/0.1343, allocations: 111.1 kB / 473.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.1347, allocations: 219.6 kB / 473.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1347, allocations: 0 / 473.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.1348, allocations: 101.2 kB / 473.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.1353, allocations: 40.11 kB / 473.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008335/0.1361, allocations: 0.5645 MB / 474.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1365, allocations: 0.7632 MB / 475 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.1366, allocations: 49.5 kB / 475 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.1367, allocations: 19.44 kB / 475 MB, free: 5.887 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1367, allocations: 4 kB / 475 MB, free: 5.883 MB / 350.1 MB Notification: Performance of Templates: time 0.004364/0.1411, allocations: 1.875 MB / 476.9 MB, free: 4.016 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches