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.001608/0.001608, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001802/0.001802, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.338/1.338, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1784/0.1784, allocations: 38.04 MB / 330.4 MB, free: 8.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 66.55 kB / 399.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1044, allocations: 58.05 MB / 457.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005166/0.1096, allocations: 3.438 MB / 461 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1117, allocations: 1.446 MB / 462.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.1119, allocations: 4 kB / 462.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008607/0.1128, allocations: 264.4 kB / 462.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006349/0.1134, allocations: 275 kB / 462.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1137, allocations: 107.7 kB / 463.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004279/0.1142, allocations: 343.1 kB / 463.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.1145, allocations: 133.9 kB / 463.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.1148, allocations: 151.3 kB / 463.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.115, allocations: 147.5 kB / 463.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.1151, allocations: 15.94 kB / 463.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005255/0.1156, allocations: 315.2 kB / 464.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.1157, allocations: 95.77 kB / 464.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.1159, allocations: 107.5 kB / 464.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005247/0.1164, allocations: 347 kB / 464.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1164, allocations: 0 / 464.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1164, allocations: 0 / 464.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1165, allocations: 0 / 464.7 MB, free: 0.8828 MB / 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.000731/0.1172, allocations: 0.5065 MB / 465.2 MB, free: 336 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1172, allocations: 12.03 kB / 465.2 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008795/0.1181, allocations: 92.55 kB / 465.3 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.1185, allocations: 252.4 kB / 465.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.1185, allocations: 16.33 kB / 465.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.1185, allocations: 28.06 kB / 465.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.119, allocations: 318.3 kB / 465.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.119, allocations: 4 kB / 465.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.1191, allocations: 11.97 kB / 465.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.1191, allocations: 12 kB / 465.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.1195, allocations: 291.7 kB / 466.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.1212, allocations: 1.293 MB / 467.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.1216, allocations: 238.3 kB / 467.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.52e-05/0.1217, allocations: 53.75 kB / 467.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.1217, allocations: 7.938 kB / 467.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1218, allocations: 34.56 kB / 467.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.885e-06/0.1218, allocations: 0 / 467.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006246/0.1224, allocations: 284.2 kB / 468.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.1225, allocations: 85.23 kB / 468.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.1227, allocations: 194.3 kB / 468.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1227, allocations: 29.64 kB / 468.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1228, allocations: 159.8 kB / 468.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.1228, allocations: 51.28 kB / 468.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.1229, allocations: 45.7 kB / 468.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.123, allocations: 326.8 kB / 469 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/0.1231, allocations: 51.97 kB / 469 MB, free: 12.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1233, allocations: 137.7 kB / 469.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.1235, allocations: 225.2 kB / 469.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1235, allocations: 0 / 469.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003335/0.1239, allocations: 229.1 kB / 469.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1239, allocations: 8 kB / 469.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1239, allocations: 4 kB / 469.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1239, allocations: 4 kB / 469.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1241, allocations: 47.91 kB / 469.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1241, allocations: 12.31 kB / 469.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1242, allocations: 15.91 kB / 469.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.1242, allocations: 8 kB / 469.7 MB, free: 11.44 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.0001688/0.1244, allocations: 162.2 kB / 469.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.1245, allocations: 23.78 kB / 469.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.1247, allocations: 150.3 kB / 470 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1247, allocations: 3.984 kB / 470 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1248, allocations: 7.938 kB / 470 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1248, allocations: 0 / 470 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.1256, allocations: 0.6689 MB / 470.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1256, allocations: 4 kB / 470.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.1257, allocations: 23.98 kB / 470.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.1258, allocations: 7.938 kB / 470.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1258, allocations: 8 kB / 470.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.1258, allocations: 11.92 kB / 470.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.1258, allocations: 4.062 kB / 470.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.1261, allocations: 335.7 kB / 471.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-05/0.1262, allocations: 104.8 kB / 471.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.1262, allocations: 4 kB / 471.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1264, allocations: 12 kB / 471.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.1264, allocations: 19.86 kB / 471.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1264, allocations: 8 kB / 471.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1265, allocations: 148.3 kB / 471.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1265, allocations: 0 / 471.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.1269, allocations: 44 kB / 471.4 MB, free: 9.523 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.0001054/0.127, allocations: 111.1 kB / 471.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.1273, allocations: 139.7 kB / 471.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1273, allocations: 0 / 471.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.1274, allocations: 69.28 kB / 471.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.1278, allocations: 31.92 kB / 471.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/0.1286, allocations: 0.5406 MB / 472.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1289, allocations: 0.7554 MB / 473.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.129, allocations: 23.42 kB / 473.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.129, allocations: 0 / 473.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of Templates: time 0.004043/0.133, allocations: 2.268 MB / 475.3 MB, free: 5.484 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 -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