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.001575/0.001575, allocations: 102.4 kB / 16.5 MB, free: 6.648 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.001494/0.001494, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.42/1.42, allocations: 222.9 MB / 241.1 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.1825/0.1825, allocations: 38.05 MB / 329.3 MB, free: 9.094 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 68.83 kB / 398.1 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1237, allocations: 58.06 MB / 456.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005187/0.1289, allocations: 4.18 MB / 460.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002632/0.1316, allocations: 1.905 MB / 462.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.1318, allocations: 11.94 kB / 462.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.1328, allocations: 346.8 kB / 462.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007485/0.1336, allocations: 378.8 kB / 463 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.1339, allocations: 123.7 kB / 463.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007793/0.1347, allocations: 0.8457 MB / 463.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.1352, allocations: 207 kB / 464.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.1355, allocations: 183.1 kB / 464.3 MB, free: 372 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.1358, allocations: 247.2 kB / 464.6 MB, free: 124 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.1359, allocations: 16 kB / 464.6 MB, free: 108 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008783/0.1368, allocations: 0.5261 MB / 465.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.1369, allocations: 155.6 kB / 465.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.1371, allocations: 143.3 kB / 465.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.1378, allocations: 0.518 MB / 465.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1378, allocations: 0 / 465.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1378, allocations: 0 / 465.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1378, allocations: 4 kB / 465.9 MB, free: 14.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.0008693/0.1387, allocations: 0.5926 MB / 466.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1387, allocations: 8.031 kB / 466.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.14, allocations: 136.4 kB / 466.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1404, allocations: 289.3 kB / 466.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1404, allocations: 20.94 kB / 467 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.1405, allocations: 20.38 kB / 467 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.1412, allocations: 447.9 kB / 467.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1412, allocations: 4 kB / 467.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.1412, allocations: 8 kB / 467.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/0.1413, allocations: 24.55 kB / 467.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/0.1419, allocations: 429.9 kB / 467.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.144, allocations: 1.717 MB / 469.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.1444, allocations: 294 kB / 469.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.1446, allocations: 141.7 kB / 470 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.1447, allocations: 0 / 470 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.1447, allocations: 38.5 kB / 470 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.172e-06/0.1447, allocations: 0 / 470 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001745/0.1465, allocations: 0.7957 MB / 470.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.1466, allocations: 81.11 kB / 470.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.1468, allocations: 207 kB / 471.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1468, allocations: 29.7 kB / 471.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.147, allocations: 184 kB / 471.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/0.147, allocations: 78.84 kB / 471.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.1471, allocations: 61.88 kB / 471.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1473, allocations: 334.9 kB / 471.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.1475, allocations: 108.5 kB / 471.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.1478, allocations: 201 kB / 472.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.1482, allocations: 343.6 kB / 472.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1482, allocations: 0 / 472.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000743/0.149, allocations: 432.7 kB / 472.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.149, allocations: 8 kB / 472.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.149, allocations: 4 kB / 472.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/0.1494, allocations: 89.19 kB / 473 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.1497, allocations: 55.91 kB / 473 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.1521, allocations: 1.795 MB / 474.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1523, allocations: 19.98 kB / 474.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.1523, allocations: 15.98 kB / 474.8 MB, free: 5.23 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.0002879/0.1526, allocations: 169.8 kB / 475 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.1527, allocations: 23.72 kB / 475 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009457/0.1537, allocations: 384.8 kB / 475.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1537, allocations: 4 kB / 475.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1537, allocations: 3.938 kB / 475.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.1537, allocations: 4 kB / 475.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.1556, allocations: 0.9214 MB / 476.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.1557, allocations: 4.062 kB / 476.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.1558, allocations: 39.86 kB / 476.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003051/0.1561, allocations: 68.8 kB / 476.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.1562, allocations: 11.92 kB / 476.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.1583, allocations: 1.705 MB / 478.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1583, allocations: 4.062 kB / 478.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.159, allocations: 461.1 kB / 478.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.1591, allocations: 104.9 kB / 478.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.1591, allocations: 11.98 kB / 478.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1593, allocations: 11.94 kB / 478.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.1593, allocations: 19.97 kB / 478.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1594, allocations: 8 kB / 478.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.1595, allocations: 147.2 kB / 478.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1595, allocations: 0 / 478.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005615/0.1601, allocations: 84 kB / 479 MB, free: 0.7891 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.0001677/0.1603, allocations: 107.2 kB / 479.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008567/0.1611, allocations: 430.9 kB / 479.5 MB, free: 248 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1611, allocations: 0 / 479.5 MB, free: 248 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.1616, allocations: 286.8 kB / 479.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.1621, allocations: 27.98 kB / 479.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1635, allocations: 0.7395 MB / 480.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.164, allocations: 0.7987 MB / 481.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.1642, allocations: 53.91 kB / 481.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.46e-05/0.1643, allocations: 23.44 kB / 481.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1643, allocations: 0 / 481.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of Templates: time 0.006822/0.1711, allocations: 2.85 MB / 484.3 MB, free: 11.39 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