Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001745/0.001745, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.002048/0.002048, allocations: 190 kB / 22.21 MB, free: 112 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.416/1.416, allocations: 225.6 MB / 250.8 MB, free: 13.41 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.1806/0.1806, allocations: 38.53 MB / 344.5 MB, free: 2.605 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.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.89 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3249, allocations: 61.24 MB / 0.5306 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009289/0.3341, allocations: 7.704 MB / 0.5381 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006694/0.3408, allocations: 4.222 MB / 0.5422 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.3415, allocations: 17.06 kB / 0.5422 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.3445, allocations: 1.056 MB / 0.5433 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003427/0.3479, allocations: 1.114 MB / 0.5444 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.349, allocations: 304.4 kB / 0.5447 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002507/0.3515, allocations: 1.366 MB / 0.546 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.3525, allocations: 342.5 kB / 0.5463 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.3539, allocations: 0.5673 MB / 0.5469 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.3553, allocations: 0.6454 MB / 0.5475 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.3554, allocations: 35.41 kB / 0.5475 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.3578, allocations: 1.018 MB / 0.5485 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006373/0.3584, allocations: 288.4 kB / 0.5488 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007138/0.3591, allocations: 244.5 kB / 0.549 GB, free: 8.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.362, allocations: 0.8207 MB / 0.5498 GB, free: 7.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.362, allocations: 0 / 0.5498 GB, free: 7.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.362, allocations: 0 / 0.5498 GB, free: 7.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.362, allocations: 4 kB / 0.5498 GB, free: 7.605 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001789/0.3638, allocations: 0.83 MB / 0.5506 GB, free: 6.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.3638, allocations: 9.25 kB / 0.5507 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.3655, allocations: 130.3 kB / 0.5508 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.3663, allocations: 335.4 kB / 0.5511 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.3663, allocations: 32.55 kB / 0.5511 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.3664, allocations: 38.45 kB / 0.5512 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009589/0.3673, allocations: 0.5907 MB / 0.5517 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3674, allocations: 1.125 kB / 0.5517 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.3674, allocations: 21.81 kB / 0.5518 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-05/0.3675, allocations: 32.53 kB / 0.5518 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/0.3682, allocations: 385.1 kB / 0.5522 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00316/0.3714, allocations: 2.6 MB / 0.5547 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007098/0.3721, allocations: 406.3 kB / 0.5551 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.3724, allocations: 190.5 kB / 0.5553 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3724, allocations: 7.984 kB / 0.5553 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.3724, allocations: 38.5 kB / 0.5553 GB, free: 2.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.3724, allocations: 0 / 0.5553 GB, free: 2.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001892/0.3743, allocations: 0.7736 MB / 0.5561 GB, free: 2.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/0.3744, allocations: 106.8 kB / 0.5562 GB, free: 2.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.3748, allocations: 324.6 kB / 0.5565 GB, free: 1.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3748, allocations: 29.7 kB / 0.5565 GB, free: 1.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.375, allocations: 252.4 kB / 0.5568 GB, free: 1.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.3751, allocations: 119 kB / 0.5569 GB, free: 1.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3752, allocations: 82.08 kB / 0.5569 GB, free: 1.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.3754, allocations: 350.9 kB / 0.5573 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.3756, allocations: 124.8 kB / 0.5574 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.376, allocations: 279.4 kB / 0.5577 GB, free: 408 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.3766, allocations: 456.2 kB / 0.5581 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3766, allocations: 7.938 kB / 0.5581 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009251/0.3776, allocations: 0.5502 MB / 0.5586 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3776, allocations: 8 kB / 0.5587 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3776, allocations: 8 kB / 0.5587 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.378, allocations: 125.2 kB / 0.5588 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.3782, allocations: 71.91 kB / 0.5589 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.3811, allocations: 2.565 MB / 0.5614 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.3813, allocations: 51.61 kB / 0.5614 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.3814, allocations: 20 kB / 0.5614 GB, free: 12.33 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.3816, allocations: 197.7 kB / 0.5616 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.954e-05/0.3817, allocations: 39.75 kB / 0.5617 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.3818, allocations: 51.95 kB / 0.5617 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3818, allocations: 4 kB / 0.5617 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3818, allocations: 0 / 0.5617 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.3818, allocations: 7.938 kB / 0.5617 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.3832, allocations: 0.9455 MB / 0.5626 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3832, allocations: 0 / 0.5626 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3833, allocations: 35.92 kB / 0.5627 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/0.3836, allocations: 116.5 kB / 0.5628 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.3836, allocations: 8 kB / 0.5628 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.3864, allocations: 2.552 MB / 0.5653 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3864, allocations: 4.031 kB / 0.5653 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.3872, allocations: 0.6228 MB / 0.5659 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3873, allocations: 112.9 kB / 0.566 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.3873, allocations: 11.94 kB / 0.566 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3875, allocations: 11.98 kB / 0.566 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.3876, allocations: 23.97 kB / 0.566 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.3876, allocations: 15.94 kB / 0.5661 GB, free: 7.297 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.3878, allocations: 215.1 kB / 0.5663 GB, free: 7.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3878, allocations: 0 / 0.5663 GB, free: 7.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006787/0.3885, allocations: 159.8 kB / 0.5664 GB, free: 6.934 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000136/0.3886, allocations: 115.3 kB / 0.5665 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008666/0.3895, allocations: 0.4955 MB / 0.567 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3895, allocations: 8 kB / 0.567 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005117/0.39, allocations: 342 kB / 0.5673 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.3905, allocations: 57.8 kB / 0.5674 GB, free: 5.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3919, allocations: 0.8326 MB / 0.5682 GB, free: 5.023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.3925, allocations: 0.8785 MB / 0.5691 GB, free: 4.121 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.3927, allocations: 78.89 kB / 0.5691 GB, free: 4.043 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.3927, allocations: 23.44 kB / 0.5692 GB, free: 4.02 MB / 414.1 MB Notification: Performance of SimCode: time 5e-07/0.3927, allocations: 0 / 0.5692 GB, free: 4.02 MB / 414.1 MB Notification: Performance of Templates: time 0.008847/0.4016, allocations: 4.05 MB / 0.5731 GB, free: 15.97 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.939285152591765]