Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 108.2 kB / 19.04 MB, free: 3.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 200.4 kB / 22.22 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1812/0.1812, allocations: 38.52 MB / 344.5 MB, free: 2.57 MB / 270.1 MB " [Timeout remaining time 180] 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.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 482.1 MB, free: 13.55 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1333, allocations: 61.25 MB / 0.5306 GB, free: 180 kB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005348/0.1386, allocations: 3.553 MB / 0.534 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1409, allocations: 1.562 MB / 0.5356 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.141, allocations: 8 kB / 0.5356 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008912/0.1419, allocations: 266.9 kB / 0.5358 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005541/0.1424, allocations: 279 kB / 0.5361 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.1427, allocations: 131.6 kB / 0.5362 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.1431, allocations: 347 kB / 0.5366 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.1434, allocations: 93.91 kB / 0.5366 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.1436, allocations: 151.4 kB / 0.5368 GB, free: 9.773 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.1439, allocations: 175.3 kB / 0.537 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.1439, allocations: 20 kB / 0.537 GB, free: 9.582 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004808/0.1444, allocations: 327.2 kB / 0.5373 GB, free: 9.262 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1445, allocations: 107.7 kB / 0.5374 GB, free: 9.156 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1446, allocations: 107.4 kB / 0.5375 GB, free: 9.051 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.1451, allocations: 358.8 kB / 0.5378 GB, free: 8.699 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1452, allocations: 4 kB / 0.5378 GB, free: 8.695 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1452, allocations: 0 / 0.5378 GB, free: 8.695 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1452, allocations: 0 / 0.5378 GB, free: 8.695 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007513/0.1459, allocations: 0.5214 MB / 0.5384 GB, free: 8.125 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.146, allocations: 16.03 kB / 0.5384 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009306/0.1469, allocations: 104.7 kB / 0.5385 GB, free: 8.008 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.1472, allocations: 267.9 kB / 0.5387 GB, free: 7.707 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.1473, allocations: 20.3 kB / 0.5387 GB, free: 7.688 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.1473, allocations: 16.38 kB / 0.5388 GB, free: 7.672 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.1478, allocations: 341.7 kB / 0.5391 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.1478, allocations: 0 / 0.5391 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.1479, allocations: 7.984 kB / 0.5391 GB, free: 7.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.1479, allocations: 16 kB / 0.5391 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.1484, allocations: 315.6 kB / 0.5394 GB, free: 6.984 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.1501, allocations: 1.256 MB / 0.5406 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.1504, allocations: 149 kB / 0.5408 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.1505, allocations: 97.67 kB / 0.5409 GB, free: 5.375 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1505, allocations: 4 kB / 0.5409 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1506, allocations: 34.56 kB / 0.5409 GB, free: 5.328 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.1506, allocations: 0 / 0.5409 GB, free: 5.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=18): time 0.001561/0.1521, allocations: 0.6667 MB / 0.5416 GB, free: 4.633 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.1522, allocations: 81.11 kB / 0.5416 GB, free: 4.535 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.1524, allocations: 194.1 kB / 0.5418 GB, free: 4.332 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1524, allocations: 29.7 kB / 0.5418 GB, free: 4.297 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1525, allocations: 160.2 kB / 0.542 GB, free: 4.137 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.236e-05/0.1526, allocations: 59.48 kB / 0.5421 GB, free: 4.078 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.1526, allocations: 45.7 kB / 0.5421 GB, free: 4.027 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1528, allocations: 330.9 kB / 0.5424 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1529, allocations: 83.89 kB / 0.5425 GB, free: 3.613 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.1531, allocations: 144.5 kB / 0.5426 GB, free: 3.441 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.1534, allocations: 256.4 kB / 0.5429 GB, free: 3.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1534, allocations: 4 kB / 0.5429 GB, free: 3.156 MB / 462.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006379/0.1541, allocations: 352.3 kB / 0.5432 GB, free: 2.805 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1541, allocations: 4 kB / 0.5432 GB, free: 2.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1541, allocations: 4 kB / 0.5432 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000386/0.1545, allocations: 105 kB / 0.5433 GB, free: 2.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.1546, allocations: 35.97 kB / 0.5434 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.1572, allocations: 2.165 MB / 0.5455 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.1573, allocations: 15.98 kB / 0.5455 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.1574, allocations: 16.06 kB / 0.5455 GB, free: 328 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.1575, allocations: 157.7 kB / 0.5457 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.1575, allocations: 15.91 kB / 0.5457 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2851/0.4427, allocations: 313.8 kB / 0.546 GB, free: 56.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4427, allocations: 1.469 kB / 0.546 GB, free: 56.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4427, allocations: 0 / 0.546 GB, free: 56.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4427, allocations: 1.594 kB / 0.546 GB, free: 56.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.4439, allocations: 0.7459 MB / 0.5467 GB, free: 56.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4439, allocations: 1.812 kB / 0.5467 GB, free: 56.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.444, allocations: 28.97 kB / 0.5467 GB, free: 56.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002767/0.4443, allocations: 75.44 kB / 0.5468 GB, free: 56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.4443, allocations: 10.28 kB / 0.5468 GB, free: 56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.4458, allocations: 2.044 MB / 0.5488 GB, free: 54.51 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4458, allocations: 2.344 kB / 0.5488 GB, free: 54.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.4463, allocations: 405.2 kB / 0.5492 GB, free: 54.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.4464, allocations: 95.92 kB / 0.5493 GB, free: 54.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.4464, allocations: 10.62 kB / 0.5493 GB, free: 54.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.4465, allocations: 12.23 kB / 0.5493 GB, free: 54.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.4466, allocations: 12.83 kB / 0.5493 GB, free: 54.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.4466, allocations: 11.62 kB / 0.5493 GB, free: 54.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.732e-05/0.4467, allocations: 135.2 kB / 0.5495 GB, free: 54.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4467, allocations: 1.781 kB / 0.5495 GB, free: 54.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.4471, allocations: 67.03 kB / 0.5495 GB, free: 54.18 MB / 462.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 (16): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 9.923e-05/0.4472, allocations: 106.5 kB / 0.5496 GB, free: 54.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006601/0.4479, allocations: 378.1 kB / 0.55 GB, free: 53.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4479, allocations: 0.5625 kB / 0.55 GB, free: 53.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.4482, allocations: 250.2 kB / 0.5502 GB, free: 53.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.4486, allocations: 32.14 kB / 0.5503 GB, free: 53.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.4494, allocations: 0.5023 MB / 0.5507 GB, free: 53.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.4496, allocations: 0.7713 MB / 0.5515 GB, free: 52.94 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.4497, allocations: 38.66 kB / 0.5515 GB, free: 52.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.4497, allocations: 21.45 kB / 0.5516 GB, free: 52.93 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4497, allocations: 0 / 0.5516 GB, free: 52.93 MB / 462.1 MB Notification: Performance of Templates: time 0.006485/0.4562, allocations: 3.145 MB / 0.5546 GB, free: 52.91 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,line.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2] Variables in the result:line.L,line.R,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.p[1],line.p[2],line.terminal_p.v[1],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.p[1],load.phi,load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.potentialReference,source.terminal.v[1],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time [Calling sys.exit(0), Time elapsed: 5.030115940608084]