Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,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.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,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.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001173, allocations: 115.4 kB / 17.69 MB, free: 5.098 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.001015/0.001016, allocations: 191 kB / 18.63 MB, free: 4.25 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.379/1.379, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.213/0.213, allocations: 38.04 MB / 330.5 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 66.66 kB / 400.3 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1098, allocations: 58.06 MB / 458.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005065/0.1149, allocations: 3.952 MB / 462.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1173, allocations: 1.819 MB / 464.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1175, allocations: 8 kB / 464.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.1185, allocations: 364.5 kB / 464.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008239/0.1193, allocations: 406.5 kB / 464.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1197, allocations: 139.6 kB / 465 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005104/0.1202, allocations: 494.6 kB / 465.5 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.1206, allocations: 203.1 kB / 465.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.1209, allocations: 219.1 kB / 465.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.1212, allocations: 231.2 kB / 466.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.1212, allocations: 23.94 kB / 466.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006296/0.1219, allocations: 439 kB / 466.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.122, allocations: 163.6 kB / 466.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.1222, allocations: 155.3 kB / 466.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006266/0.1228, allocations: 0.4908 MB / 467.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1229, allocations: 0 / 467.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1229, allocations: 0 / 467.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1229, allocations: 0 / 467.4 MB, free: 14.25 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007703/0.1237, allocations: 0.5964 MB / 468 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1237, allocations: 16.02 kB / 468 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.1249, allocations: 128.4 kB / 468.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.1253, allocations: 295.7 kB / 468.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.1254, allocations: 24.92 kB / 468.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.1254, allocations: 20.38 kB / 468.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.1261, allocations: 447.9 kB / 468.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1261, allocations: 0 / 468.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.1261, allocations: 8 kB / 468.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.1262, allocations: 24.55 kB / 468.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.1268, allocations: 429.9 kB / 469.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.1289, allocations: 1.706 MB / 471 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.1293, allocations: 294.1 kB / 471.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.1295, allocations: 141.7 kB / 471.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.1296, allocations: 7.922 kB / 471.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1296, allocations: 38.56 kB / 471.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.1296, allocations: 0 / 471.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001721/0.1313, allocations: 0.7958 MB / 472.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1314, allocations: 77.11 kB / 472.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1316, allocations: 207 kB / 472.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1316, allocations: 29.7 kB / 472.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1318, allocations: 188.1 kB / 472.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.1318, allocations: 78.84 kB / 472.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.61e-05/0.1319, allocations: 57.89 kB / 472.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.132, allocations: 334.8 kB / 473.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.1322, allocations: 108.5 kB / 473.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.1324, allocations: 205 kB / 473.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.1328, allocations: 343.8 kB / 473.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1328, allocations: 0 / 473.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007437/0.1336, allocations: 432.9 kB / 474.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.1336, allocations: 8.031 kB / 474.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.1336, allocations: 4 kB / 474.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.134, allocations: 84.78 kB / 474.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.1343, allocations: 55.91 kB / 474.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.1364, allocations: 2.001 MB / 476.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.1366, allocations: 15.98 kB / 476.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.1366, allocations: 12 kB / 476.5 MB, free: 4.523 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.1368, allocations: 173.7 kB / 476.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.1369, allocations: 27.66 kB / 476.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007026/0.1376, allocations: 388.9 kB / 477.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1376, allocations: 4 kB / 477.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1376, allocations: 192 / 477.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1376, allocations: 4 kB / 477.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.139, allocations: 0.9129 MB / 478 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.139, allocations: 11.88 kB / 478 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1392, allocations: 43.91 kB / 478 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/0.1394, allocations: 64.8 kB / 478.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.1395, allocations: 7.984 kB / 478.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.1412, allocations: 1.908 MB / 480 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.1412, allocations: 3.938 kB / 480 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000696/0.142, allocations: 467.1 kB / 480.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.142, allocations: 100.8 kB / 480.6 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.1421, allocations: 4 kB / 480.6 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1422, allocations: 8.109 kB / 480.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.1423, allocations: 23.92 kB / 480.6 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.1423, allocations: 19.94 kB / 480.6 MB, free: 96 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1425, allocations: 148.6 kB / 480.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1425, allocations: 0 / 480.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004889/0.143, allocations: 80 kB / 480.9 MB, free: 15.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000123/0.1431, allocations: 107.1 kB / 481 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007298/0.1438, allocations: 430.8 kB / 481.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1438, allocations: 0 / 481.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.1442, allocations: 286.3 kB / 481.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1446, allocations: 43.58 kB / 481.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1457, allocations: 0.5929 MB / 482.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.1461, allocations: 0.8026 MB / 483.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.1462, allocations: 53.91 kB / 483.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.1463, allocations: 19.44 kB / 483.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1463, allocations: 0 / 483.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of Templates: time 0.00626/0.1526, allocations: 2.972 MB / 486.1 MB, free: 10.49 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches