Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.001373/0.001373, allocations: 103.6 kB / 21.18 MB, free: 0.6641 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.001484/0.001484, allocations: 223.9 kB / 24.48 MB, free: 3.961 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.501/1.501, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1902/0.1902, allocations: 38.56 MB / 353.2 MB, free: 12.39 MB / 286.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.AdmittanceTest,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.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,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.AdmittanceTest") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 74.86 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3056, allocations: 62.46 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005117/0.3107, allocations: 3.431 MB / 0.5465 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.313, allocations: 1.373 MB / 0.5478 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.3132, allocations: 9.531 kB / 0.5479 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.314, allocations: 251.8 kB / 0.5481 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000675/0.3147, allocations: 275.4 kB / 0.5484 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.315, allocations: 114.5 kB / 0.5485 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.3154, allocations: 334.4 kB / 0.5488 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.3157, allocations: 125.9 kB / 0.5489 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.316, allocations: 164.6 kB / 0.5491 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.3163, allocations: 157.6 kB / 0.5492 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.3163, allocations: 14.84 kB / 0.5492 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004661/0.3168, allocations: 269 kB / 0.5495 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.3169, allocations: 97.86 kB / 0.5496 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.317, allocations: 89.73 kB / 0.5497 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.3176, allocations: 347.3 kB / 0.55 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3176, allocations: 0 / 0.55 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3176, allocations: 0 / 0.55 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3176, allocations: 0 / 0.55 GB, free: 11.32 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007405/0.3183, allocations: 446.9 kB / 0.5504 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3184, allocations: 12.98 kB / 0.5504 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008783/0.3192, allocations: 91.94 kB / 0.5505 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.3196, allocations: 220.1 kB / 0.5507 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.3196, allocations: 20.02 kB / 0.5507 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.3197, allocations: 19.84 kB / 0.5508 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.3202, allocations: 313.1 kB / 0.5511 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.3202, allocations: 1.156 kB / 0.5511 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.3203, allocations: 10.09 kB / 0.5511 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.3203, allocations: 16.58 kB / 0.5511 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.3208, allocations: 278.1 kB / 0.5514 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.3225, allocations: 1.169 MB / 0.5525 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.3229, allocations: 149.8 kB / 0.5526 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.18e-05/0.323, allocations: 47.67 kB / 0.5527 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.323, allocations: 6.156 kB / 0.5527 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.323, allocations: 52.58 kB / 0.5527 GB, free: 9.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.323, allocations: 0 / 0.5527 GB, free: 9.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006355/0.3237, allocations: 290.3 kB / 0.553 GB, free: 8.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.3237, allocations: 79.3 kB / 0.5531 GB, free: 8.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3239, allocations: 195.6 kB / 0.5533 GB, free: 8.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3239, allocations: 29.7 kB / 0.5533 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3241, allocations: 160.7 kB / 0.5535 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.3241, allocations: 49.94 kB / 0.5535 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.3242, allocations: 42.58 kB / 0.5536 GB, free: 8.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3244, allocations: 327.5 kB / 0.5539 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/0.3244, allocations: 45 kB / 0.5539 GB, free: 8.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.3246, allocations: 146.8 kB / 0.554 GB, free: 7.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.3249, allocations: 225.9 kB / 0.5543 GB, free: 7.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3249, allocations: 1.281 kB / 0.5543 GB, free: 7.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000346/0.3252, allocations: 224.2 kB / 0.5545 GB, free: 7.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3253, allocations: 6.719 kB / 0.5545 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3253, allocations: 4.562 kB / 0.5545 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3253, allocations: 8.094 kB / 0.5545 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.3255, allocations: 47.34 kB / 0.5545 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3255, allocations: 4.531 kB / 0.5545 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3256, allocations: 8.375 kB / 0.5546 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.3256, allocations: 13.19 kB / 0.5546 GB, free: 7.582 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.3258, allocations: 157.3 kB / 0.5547 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.3258, allocations: 27.58 kB / 0.5547 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.3261, allocations: 150.1 kB / 0.5549 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3261, allocations: 2.094 kB / 0.5549 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3261, allocations: 9.047 kB / 0.5549 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3261, allocations: 64 / 0.5549 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008606/0.3269, allocations: 0.5858 MB / 0.5555 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.327, allocations: 3.406 kB / 0.5555 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3271, allocations: 30.64 kB / 0.5555 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3271, allocations: 7.781 kB / 0.5555 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.3271, allocations: 9.938 kB / 0.5555 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.3271, allocations: 7.625 kB / 0.5555 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3271, allocations: 8.062 kB / 0.5555 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.3274, allocations: 334.2 kB / 0.5558 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.3275, allocations: 20.66 kB / 0.5559 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.3275, allocations: 4.406 kB / 0.5559 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3277, allocations: 12.27 kB / 0.5559 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.3277, allocations: 24.42 kB / 0.5559 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3277, allocations: 7.688 kB / 0.5559 GB, free: 6.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3278, allocations: 135 kB / 0.556 GB, free: 6.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3278, allocations: 3.938 kB / 0.556 GB, free: 6.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.3282, allocations: 46.44 kB / 0.5561 GB, free: 6.328 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001038/0.3283, allocations: 102.1 kB / 0.5562 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.3286, allocations: 148.1 kB / 0.5563 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3286, allocations: 1.375 kB / 0.5563 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.3287, allocations: 60.94 kB / 0.5564 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.3291, allocations: 43.45 kB / 0.5564 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008949/0.33, allocations: 0.5291 MB / 0.5569 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.3302, allocations: 143.9 kB / 0.5571 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.3303, allocations: 23.42 kB / 0.5571 GB, free: 5.297 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3303, allocations: 0 / 0.5571 GB, free: 5.297 MB / 398.1 MB Notification: Performance of Templates: time 0.004346/0.3346, allocations: 2.357 MB / 0.5594 GB, free: 2.941 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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: 7.518200892023742]