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.0008241/0.0008242, allocations: 94.67 kB / 16.65 MB, free: 6.59 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.000903/0.0009031, allocations: 184 kB / 17.57 MB, free: 6.199 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.329/1.329, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1781/0.1781, allocations: 38.08 MB / 330.8 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003611, allocations: 11.98 kB / 400.7 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09832, allocations: 59.15 MB / 459.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004351/0.1027, allocations: 3.821 MB / 463.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.1053, allocations: 1.87 MB / 465.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.1056, allocations: 11.94 kB / 465.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.1058, allocations: 43.62 kB / 465.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009395/0.1067, allocations: 374.8 kB / 466 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.1071, allocations: 123.7 kB / 466.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008333/0.1079, allocations: 0.8458 MB / 466.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008115/0.1088, allocations: 447.5 kB / 467.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003783/0.1092, allocations: 171.2 kB / 467.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.1095, allocations: 227.2 kB / 467.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.1096, allocations: 12 kB / 467.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008309/0.1104, allocations: 0.5261 MB / 468.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.1106, allocations: 147.6 kB / 468.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.1108, allocations: 161 kB / 468.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007013/0.1115, allocations: 0.5101 MB / 469.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1115, allocations: 0 / 469.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1115, allocations: 0 / 469.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1115, allocations: 0 / 469.1 MB, free: 13.76 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.0007549/0.1123, allocations: 0.538 MB / 469.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.1124, allocations: 12.03 kB / 469.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.1135, allocations: 132.4 kB / 469.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.1139, allocations: 297.3 kB / 470.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.1139, allocations: 16.94 kB / 470.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-05/0.114, allocations: 24.38 kB / 470.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.1147, allocations: 443.9 kB / 470.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.1147, allocations: 8 kB / 470.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.1147, allocations: 8 kB / 470.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.1148, allocations: 24.55 kB / 470.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/0.1154, allocations: 429.8 kB / 471 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.1177, allocations: 1.725 MB / 472.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.1181, allocations: 286.1 kB / 473 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.1183, allocations: 137.7 kB / 473.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.1184, allocations: 11.98 kB / 473.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1184, allocations: 34.56 kB / 473.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.1184, allocations: 0 / 473.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001705/0.1201, allocations: 0.8035 MB / 474 MB, free: 8.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.1202, allocations: 81.11 kB / 474.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1204, allocations: 203 kB / 474.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1204, allocations: 29.7 kB / 474.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1205, allocations: 188 kB / 474.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.1206, allocations: 74.91 kB / 474.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.1206, allocations: 29.7 kB / 474.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1208, allocations: 334.8 kB / 474.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1209, allocations: 112.5 kB / 475 MB, free: 7.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.1211, allocations: 197 kB / 475.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.1216, allocations: 343.7 kB / 475.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1216, allocations: 0 / 475.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007362/0.1224, allocations: 436.8 kB / 476 MB, free: 6.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1224, allocations: 8 kB / 476 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1224, allocations: 3.938 kB / 476 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/0.1228, allocations: 93.16 kB / 476.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.123, allocations: 55.91 kB / 476.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.125, allocations: 1.795 MB / 478 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.1252, allocations: 19.92 kB / 478 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.1252, allocations: 12 kB / 478 MB, free: 4.297 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.000196/0.1254, allocations: 173.7 kB / 478.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.1255, allocations: 32.02 kB / 478.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.1263, allocations: 380.8 kB / 478.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1263, allocations: 4 kB / 478.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.1263, allocations: 11.94 kB / 478.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1263, allocations: 0 / 478.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.1279, allocations: 0.9205 MB / 479.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.1279, allocations: 0 / 479.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1281, allocations: 32.05 kB / 479.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000289/0.1284, allocations: 76.78 kB / 479.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.1284, allocations: 11.94 kB / 479.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.1301, allocations: 1.705 MB / 481.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1302, allocations: 4.031 kB / 481.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.1309, allocations: 458.4 kB / 481.8 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/0.131, allocations: 108.8 kB / 481.9 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.131, allocations: 8 kB / 481.9 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1312, allocations: 12.11 kB / 481.9 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.1312, allocations: 15.98 kB / 481.9 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.1313, allocations: 12 kB / 481.9 MB, free: 80 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1314, allocations: 147.2 kB / 482.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1314, allocations: 0 / 482.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005774/0.132, allocations: 84 kB / 482.1 MB, free: 15.85 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.0001451/0.1322, allocations: 111.1 kB / 482.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008035/0.133, allocations: 430.1 kB / 482.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.133, allocations: 4.75 kB / 482.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.1334, allocations: 290.5 kB / 483 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.1339, allocations: 35.98 kB / 483 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.135, allocations: 0.7406 MB / 483.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1354, allocations: 0.8026 MB / 484.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.1356, allocations: 53.91 kB / 484.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.1356, allocations: 23.42 kB / 484.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1356, allocations: 0 / 484.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of Templates: time 0.006466/0.1421, allocations: 2.79 MB / 487.4 MB, free: 10.5 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches