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.001622/0.001622, allocations: 106 kB / 16.62 MB, free: 6.805 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.001757/0.001757, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.383/1.383, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1754/0.1754, allocations: 38.04 MB / 329.4 MB, free: 9.055 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 65.89 kB / 398.3 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 58.07 MB / 456.4 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.006077/0.1221, allocations: 4.184 MB / 460.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.1247, allocations: 1.877 MB / 462.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.125, allocations: 11.94 kB / 462.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.1261, allocations: 330.9 kB / 462.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1271, allocations: 386.8 kB / 463.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.1276, allocations: 127.7 kB / 463.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006834/0.1283, allocations: 494.6 kB / 463.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/0.1288, allocations: 235 kB / 464 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004909/0.1293, allocations: 211.2 kB / 464.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004914/0.1298, allocations: 251.2 kB / 464.4 MB, free: 344 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.1299, allocations: 20 kB / 464.4 MB, free: 324 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008852/0.1308, allocations: 446.9 kB / 464.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.131, allocations: 159.6 kB / 465 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.1312, allocations: 143.3 kB / 465.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008494/0.1321, allocations: 0.5258 MB / 465.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1321, allocations: 0 / 465.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1321, allocations: 0 / 465.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.1322, allocations: 4 kB / 465.7 MB, free: 15.05 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.0009578/0.1331, allocations: 0.5887 MB / 466.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1332, allocations: 11.97 kB / 466.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.1344, allocations: 128.4 kB / 466.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.1348, allocations: 297.3 kB / 466.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1349, allocations: 20.94 kB / 466.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/0.135, allocations: 28.36 kB / 466.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.1357, allocations: 439.9 kB / 467.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1357, allocations: 4 kB / 467.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.1357, allocations: 11.98 kB / 467.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.1358, allocations: 28.55 kB / 467.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/0.1364, allocations: 433.8 kB / 467.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.1387, allocations: 1.706 MB / 469.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.1391, allocations: 294 kB / 469.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.1393, allocations: 137.7 kB / 469.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.1394, allocations: 7.984 kB / 469.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.1394, allocations: 34.56 kB / 469.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 3.627e-06/0.1394, allocations: 3.984 kB / 469.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001953/0.1414, allocations: 0.7952 MB / 470.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.1415, allocations: 81.11 kB / 470.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.1417, allocations: 203 kB / 470.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1418, allocations: 29.7 kB / 470.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.1419, allocations: 188 kB / 471.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/0.142, allocations: 82.84 kB / 471.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.663e-05/0.1421, allocations: 58.02 kB / 471.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1423, allocations: 334.8 kB / 471.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.1425, allocations: 104.5 kB / 471.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.1427, allocations: 211.8 kB / 471.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.1432, allocations: 339.7 kB / 472.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1432, allocations: 0 / 472.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007396/0.1439, allocations: 432.9 kB / 472.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.144, allocations: 8 kB / 472.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.144, allocations: 4 kB / 472.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/0.1444, allocations: 89.14 kB / 472.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.1446, allocations: 55.91 kB / 472.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.1468, allocations: 1.998 MB / 474.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.1469, allocations: 15.98 kB / 474.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.147, allocations: 16 kB / 474.8 MB, free: 5.316 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.000174/0.1472, allocations: 169.8 kB / 475 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.1472, allocations: 23.66 kB / 475 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007107/0.1479, allocations: 392.9 kB / 475.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1479, allocations: 0 / 475.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.148, allocations: 4 kB / 475.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.148, allocations: 0 / 475.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.1495, allocations: 0.9358 MB / 476.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1495, allocations: 0 / 476.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1497, allocations: 31.98 kB / 476.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002523/0.1499, allocations: 80.78 kB / 476.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.15, allocations: 8 kB / 476.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.1517, allocations: 1.916 MB / 478.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1517, allocations: 0 / 478.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.1524, allocations: 466.4 kB / 478.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.1525, allocations: 92.83 kB / 478.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.1525, allocations: 11.94 kB / 478.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1527, allocations: 11.98 kB / 479 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.1527, allocations: 19.91 kB / 479 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1527, allocations: 12 kB / 479 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.1529, allocations: 139.2 kB / 479.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1529, allocations: 0 / 479.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004825/0.1534, allocations: 88 kB / 479.2 MB, free: 0.6602 MB / 350.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.0001139/0.1535, allocations: 111.2 kB / 479.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000786/0.1543, allocations: 443 kB / 479.7 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1543, allocations: 4.062 kB / 479.7 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.1547, allocations: 290.4 kB / 480 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.1552, allocations: 35.98 kB / 480.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1564, allocations: 0.7262 MB / 480.8 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.1569, allocations: 0.7987 MB / 481.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.1571, allocations: 49.91 kB / 481.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.1572, allocations: 23.44 kB / 481.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1572, allocations: 0 / 481.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Templates: time 0.006714/0.1639, allocations: 3.002 MB / 484.7 MB, free: 11.09 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