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.0007973/0.0007973, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004093/0.004093, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8633/0.8633, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 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.2008/0.2008, allocations: 29.41 MB / 290.8 MB, free: 2.434 MB / 266.7 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.172e-06/1.172e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.093e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003105/0.003126, allocations: 3.851 MB / 435.3 MB, free: 9.227 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.004477, allocations: 1.733 MB / 437.1 MB, free: 7.484 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.00458, allocations: 11.94 kB / 437.1 MB, free: 7.473 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.005153, allocations: 357.5 kB / 437.4 MB, free: 7.125 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.00558, allocations: 422 kB / 437.8 MB, free: 6.711 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.00575, allocations: 135.5 kB / 438 MB, free: 6.578 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.006078, allocations: 0.4985 MB / 438.5 MB, free: 6.078 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.006319, allocations: 167.4 kB / 438.6 MB, free: 5.914 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.006593, allocations: 287 kB / 438.9 MB, free: 5.633 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.006798, allocations: 227.3 kB / 439.1 MB, free: 5.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.006823, allocations: 28 kB / 439.2 MB, free: 5.383 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.007118, allocations: 386.6 kB / 439.5 MB, free: 5.004 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.007222, allocations: 167.6 kB / 439.7 MB, free: 4.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.026e-05/0.007302, allocations: 111.8 kB / 439.8 MB, free: 4.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.007701, allocations: 0.5064 MB / 440.3 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.007704, allocations: 3.984 kB / 440.3 MB, free: 4.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007705, allocations: 0 / 440.3 MB, free: 4.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.007709, allocations: 0 / 440.3 MB, free: 4.219 MB / 410.7 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.000519/0.008228, allocations: 0.5283 MB / 440.8 MB, free: 3.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.008258, allocations: 11.98 kB / 440.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005587/0.008817, allocations: 140.5 kB / 441 MB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.009062, allocations: 237.2 kB / 441.2 MB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.009078, allocations: 21.03 kB / 441.2 MB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.009117, allocations: 24.38 kB / 441.3 MB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.009531, allocations: 436.6 kB / 441.7 MB, free: 2.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.009545, allocations: 4.125 kB / 441.7 MB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.009566, allocations: 20.36 kB / 441.7 MB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.009596, allocations: 32.58 kB / 441.7 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.009975, allocations: 422.3 kB / 442.2 MB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.01115, allocations: 1.423 MB / 443.6 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.01137, allocations: 193 kB / 443.8 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.01148, allocations: 117.8 kB / 443.9 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.01151, allocations: 11.98 kB / 443.9 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.01153, allocations: 34.56 kB / 443.9 MB, free: 412 kB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.01153, allocations: 0 / 443.9 MB, free: 412 kB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.14/0.1515, allocations: 0.7178 MB / 444.6 MB, free: 54.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.1515, allocations: 84.14 kB / 444.7 MB, free: 54.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1516, allocations: 208.2 kB / 444.9 MB, free: 54.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1517, allocations: 28.95 kB / 445 MB, free: 54.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.1517, allocations: 188.8 kB / 445.1 MB, free: 54.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.1517, allocations: 81.72 kB / 445.2 MB, free: 54.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.1518, allocations: 53.88 kB / 445.3 MB, free: 54.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.114e-05/0.1518, allocations: 338.5 kB / 445.6 MB, free: 54.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.1519, allocations: 103 kB / 445.7 MB, free: 54.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.152, allocations: 207.9 kB / 445.9 MB, free: 53.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.1522, allocations: 341.9 kB / 446.2 MB, free: 53.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1522, allocations: 0.5 kB / 446.2 MB, free: 53.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003851/0.1526, allocations: 430.4 kB / 446.7 MB, free: 53.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1526, allocations: 6.781 kB / 446.7 MB, free: 53.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1526, allocations: 3.469 kB / 446.7 MB, free: 53.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.1529, allocations: 88.98 kB / 446.8 MB, free: 53.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.153, allocations: 54.41 kB / 446.8 MB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009359/0.1539, allocations: 1.862 MB / 448.7 MB, free: 52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.154, allocations: 22.34 kB / 448.7 MB, free: 52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.154, allocations: 13.69 kB / 448.7 MB, free: 51.99 MB / 410.7 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 9.713e-05/0.1541, allocations: 179.2 kB / 448.9 MB, free: 51.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1541, allocations: 23.84 kB / 448.9 MB, free: 51.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.1545, allocations: 378.3 kB / 449.3 MB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1545, allocations: 3.062 kB / 449.3 MB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1545, allocations: 5.969 kB / 449.3 MB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1545, allocations: 0 / 449.3 MB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.1551, allocations: 0.7567 MB / 450 MB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1552, allocations: 3.25 kB / 450.1 MB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.701e-05/0.1552, allocations: 37.42 kB / 450.1 MB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/0.1553, allocations: 68.72 kB / 450.2 MB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1554, allocations: 7.188 kB / 450.2 MB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007072/0.1561, allocations: 1.775 MB / 451.9 MB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1561, allocations: 3.234 kB / 451.9 MB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.1564, allocations: 465.3 kB / 452.4 MB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.1564, allocations: 19.59 kB / 452.4 MB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1564, allocations: 7.438 kB / 452.4 MB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.1565, allocations: 17.44 kB / 452.4 MB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.1565, allocations: 23.66 kB / 452.5 MB, free: 49.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1565, allocations: 10.56 kB / 452.5 MB, free: 49.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.313e-05/0.1566, allocations: 141.4 kB / 452.6 MB, free: 49.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1566, allocations: 0 / 452.6 MB, free: 49.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002766/0.1568, allocations: 84.5 kB / 452.7 MB, free: 49.32 MB / 410.7 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 7.448e-05/0.1569, allocations: 104 kB / 452.8 MB, free: 49.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003948/0.1573, allocations: 413.2 kB / 453.2 MB, free: 49.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1573, allocations: 0 / 453.2 MB, free: 49.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.1575, allocations: 273.6 kB / 453.5 MB, free: 48.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.1577, allocations: 39.97 kB / 453.5 MB, free: 48.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.1583, allocations: 0.6428 MB / 454.1 MB, free: 48.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.651e-05/0.1584, allocations: 195 kB / 454.3 MB, free: 48.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.1585, allocations: 29.83 kB / 454.4 MB, free: 48.38 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1585, allocations: 0 / 454.4 MB, free: 48.38 MB / 410.7 MB Notification: Performance of Templates: time 0.003341/0.1618, allocations: 4.554 MB / 458.9 MB, free: 48.08 MB / 410.7 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.746392042376101]