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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 84.31 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 166.7 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.384/1.384, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1673/0.1673, allocations: 29.45 MB / 290.1 MB, free: 3.266 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.561e-05, allocations: 2.281 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.00516/0.005186, allocations: 3.863 MB / 434.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.00785, allocations: 1.725 MB / 436.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.007968, allocations: 7.938 kB / 436.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.009066, allocations: 357.2 kB / 436.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008656/0.009932, allocations: 418 kB / 437.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.01029, allocations: 143.4 kB / 437.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.0109, allocations: 0.4946 MB / 437.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.01122, allocations: 167.4 kB / 437.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004587/0.01168, allocations: 287.1 kB / 438.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.01205, allocations: 223.4 kB / 438.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.978e-05/0.0121, allocations: 23.94 kB / 438.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006093/0.01271, allocations: 382.7 kB / 438.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.0129, allocations: 175.6 kB / 438.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.01305, allocations: 103.8 kB / 439 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.01374, allocations: 0.5064 MB / 439.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01374, allocations: 0 / 439.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01375, allocations: 0 / 439.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.01375, allocations: 0 / 439.5 MB, free: 9.066 MB / 366.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.0008706/0.01462, allocations: 0.5323 MB / 440.1 MB, free: 8.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.01466, allocations: 15.92 kB / 440.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.01587, allocations: 132.5 kB / 440.2 MB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.01629, allocations: 246.6 kB / 440.5 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.01632, allocations: 21.03 kB / 440.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.01638, allocations: 20.38 kB / 440.5 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007127/0.01709, allocations: 448.6 kB / 440.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.01711, allocations: 192 / 440.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.01715, allocations: 16.36 kB / 440.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.01719, allocations: 24.58 kB / 441 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006557/0.01785, allocations: 438.2 kB / 441.4 MB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.01998, allocations: 1.427 MB / 442.8 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.02033, allocations: 189 kB / 443 MB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.02052, allocations: 121.7 kB / 443.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.02055, allocations: 0 / 443.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.02058, allocations: 46.55 kB / 443.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.243e-06/0.02058, allocations: 0 / 443.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001786/0.02237, allocations: 0.7151 MB / 443.9 MB, free: 4.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.02242, allocations: 77.11 kB / 444 MB, free: 4.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.02262, allocations: 211.7 kB / 444.2 MB, free: 4.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.02265, allocations: 33.7 kB / 444.2 MB, free: 4.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.02279, allocations: 188.3 kB / 444.4 MB, free: 3.969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.02285, allocations: 75.38 kB / 444.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/0.02295, allocations: 66.06 kB / 444.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.0231, allocations: 330.8 kB / 444.9 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.02327, allocations: 104.5 kB / 445 MB, free: 3.387 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.02352, allocations: 205 kB / 445.2 MB, free: 3.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.02399, allocations: 350.9 kB / 445.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.02399, allocations: 0 / 445.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007864/0.02477, allocations: 429.9 kB / 445.9 MB, free: 2.332 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.02479, allocations: 4 kB / 445.9 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.0248, allocations: 4 kB / 445.9 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003793/0.02518, allocations: 88.73 kB / 446 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.0254, allocations: 55.91 kB / 446.1 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.02755, allocations: 1.864 MB / 447.9 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.02771, allocations: 15.98 kB / 447.9 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.02774, allocations: 16 kB / 448 MB, free: 188 kB / 366.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.1448/0.1725, allocations: 179.1 kB / 448.1 MB, free: 29.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1726, allocations: 15.72 kB / 448.1 MB, free: 29.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007451/0.1734, allocations: 377.8 kB / 448.5 MB, free: 29.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1734, allocations: 3.641 kB / 448.5 MB, free: 29.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1734, allocations: 3.594 kB / 448.5 MB, free: 29.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1734, allocations: 1.406 kB / 448.5 MB, free: 29.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.1746, allocations: 0.7649 MB / 449.3 MB, free: 29.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1746, allocations: 4.203 kB / 449.3 MB, free: 29.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.1748, allocations: 40.88 kB / 449.3 MB, free: 29.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/0.1751, allocations: 71.09 kB / 449.4 MB, free: 29.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.1751, allocations: 2.891 kB / 449.4 MB, free: 29.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.1764, allocations: 1.778 MB / 451.2 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1764, allocations: 1 kB / 451.2 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.177, allocations: 452.5 kB / 451.6 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.1771, allocations: 22.97 kB / 451.7 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.1771, allocations: 11.45 kB / 451.7 MB, free: 27.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.1772, allocations: 15.47 kB / 451.7 MB, free: 27.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.1773, allocations: 20.7 kB / 451.7 MB, free: 27.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1773, allocations: 6.797 kB / 451.7 MB, free: 27.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.716e-05/0.1774, allocations: 150.3 kB / 451.9 MB, free: 27.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1774, allocations: 0 / 451.9 MB, free: 27.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004795/0.1779, allocations: 82.62 kB / 451.9 MB, free: 27.71 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.0001062/0.178, allocations: 107.1 kB / 452 MB, free: 27.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.1786, allocations: 416 kB / 452.4 MB, free: 27.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1786, allocations: 6.172 kB / 452.4 MB, free: 27.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.179, allocations: 267 kB / 452.7 MB, free: 27.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1794, allocations: 49.06 kB / 452.8 MB, free: 27.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008646/0.1802, allocations: 0.59 MB / 453.3 MB, free: 26.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.1804, allocations: 201.4 kB / 453.5 MB, free: 26.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.1805, allocations: 52.58 kB / 453.6 MB, free: 26.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.1806, allocations: 22.33 kB / 453.6 MB, free: 26.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1806, allocations: 0 / 453.6 MB, free: 26.82 MB / 366.1 MB Notification: Performance of Templates: time 0.006852/0.1874, allocations: 3.005 MB / 456.6 MB, free: 26.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.427553080022335]