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.001472/0.001472, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001609/0.001609, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.345/1.345, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.173/0.173, allocations: 38.54 MB / 353.2 MB, free: 12.55 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.002072/0.002072, allocations: 68.17 kB / 493.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3015, allocations: 62.47 MB / 0.5432 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.0047/0.3062, allocations: 3.572 MB / 0.5467 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3084, allocations: 1.503 MB / 0.5482 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.3086, allocations: 13.53 kB / 0.5482 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009318/0.3095, allocations: 260 kB / 0.5484 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006731/0.3102, allocations: 285.3 kB / 0.5487 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.3105, allocations: 111.2 kB / 0.5488 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000453/0.311, allocations: 333.3 kB / 0.5491 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.3113, allocations: 119.6 kB / 0.5492 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.3116, allocations: 168.5 kB / 0.5494 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.3118, allocations: 162.7 kB / 0.5496 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.3118, allocations: 13.28 kB / 0.5496 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005262/0.3124, allocations: 324.9 kB / 0.5499 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.3125, allocations: 98.8 kB / 0.55 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.3126, allocations: 100.7 kB / 0.5501 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.3131, allocations: 347.3 kB / 0.5504 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3131, allocations: 7.984 kB / 0.5504 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3131, allocations: 1.312 kB / 0.5504 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3131, allocations: 0 / 0.5504 GB, free: 11.16 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.0006648/0.3138, allocations: 448 kB / 0.5508 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3138, allocations: 17.97 kB / 0.5509 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.3146, allocations: 87.61 kB / 0.5509 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.315, allocations: 218 kB / 0.5512 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.315, allocations: 10.94 kB / 0.5512 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.3151, allocations: 24.55 kB / 0.5512 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.3156, allocations: 323.8 kB / 0.5515 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3156, allocations: 5.406 kB / 0.5515 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.3156, allocations: 5.312 kB / 0.5515 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.3156, allocations: 16.89 kB / 0.5515 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.316, allocations: 288.8 kB / 0.5518 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.3177, allocations: 1.242 MB / 0.553 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.3181, allocations: 149.7 kB / 0.5532 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.798e-05/0.3182, allocations: 55.5 kB / 0.5532 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.3182, allocations: 9 kB / 0.5532 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.3182, allocations: 32.03 kB / 0.5532 GB, free: 8.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.3182, allocations: 5.344 kB / 0.5532 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006323/0.3189, allocations: 294.4 kB / 0.5535 GB, free: 8.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.3189, allocations: 83.33 kB / 0.5536 GB, free: 8.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.3191, allocations: 195.5 kB / 0.5538 GB, free: 8.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.3191, allocations: 26.8 kB / 0.5538 GB, free: 8.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3192, allocations: 171.6 kB / 0.554 GB, free: 8.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.3193, allocations: 50.7 kB / 0.554 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.3193, allocations: 44.59 kB / 0.5541 GB, free: 8.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3195, allocations: 327.3 kB / 0.5544 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.3196, allocations: 46.91 kB / 0.5544 GB, free: 7.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.3197, allocations: 147 kB / 0.5546 GB, free: 7.664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.32, allocations: 222.3 kB / 0.5548 GB, free: 7.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.32, allocations: 5.125 kB / 0.5548 GB, free: 7.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003213/0.3203, allocations: 230.3 kB / 0.555 GB, free: 7.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3203, allocations: 5.5 kB / 0.555 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3203, allocations: 4.375 kB / 0.555 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3203, allocations: 4.625 kB / 0.555 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.3205, allocations: 47.22 kB / 0.5551 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.3205, allocations: 8.594 kB / 0.5551 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.3206, allocations: 8.938 kB / 0.5551 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.3206, allocations: 13.62 kB / 0.5551 GB, free: 7.312 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.0001385/0.3208, allocations: 157.4 kB / 0.5552 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.3208, allocations: 19.06 kB / 0.5553 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.3211, allocations: 142.1 kB / 0.5554 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3211, allocations: 7.016 kB / 0.5554 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3211, allocations: 0 / 0.5554 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3211, allocations: 9.125 kB / 0.5554 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008732/0.322, allocations: 0.6446 MB / 0.556 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.322, allocations: 7.125 kB / 0.5561 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.3221, allocations: 25.67 kB / 0.5561 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.3221, allocations: 7.375 kB / 0.5561 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3221, allocations: 6.031 kB / 0.5561 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.3221, allocations: 8.469 kB / 0.5561 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.3221, allocations: 7.422 kB / 0.5561 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.3224, allocations: 335.8 kB / 0.5564 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.3225, allocations: 28.36 kB / 0.5565 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.3225, allocations: 4.812 kB / 0.5565 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3226, allocations: 8.625 kB / 0.5565 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.3227, allocations: 26.2 kB / 0.5565 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3227, allocations: 7.719 kB / 0.5565 GB, free: 6.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.3228, allocations: 145.2 kB / 0.5566 GB, free: 6.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3228, allocations: 0 / 0.5566 GB, free: 6.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.3231, allocations: 46.53 kB / 0.5567 GB, free: 5.996 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.0001134/0.3233, allocations: 109.8 kB / 0.5568 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.3235, allocations: 140.3 kB / 0.5569 GB, free: 5.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3235, allocations: 0 / 0.5569 GB, free: 5.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.3236, allocations: 62.81 kB / 0.557 GB, free: 5.805 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.324, allocations: 34.05 kB / 0.557 GB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008494/0.3249, allocations: 0.5343 MB / 0.5575 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.3252, allocations: 0.7593 MB / 0.5583 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.3253, allocations: 19.42 kB / 0.5583 GB, free: 4.406 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3253, allocations: 0 / 0.5583 GB, free: 4.406 MB / 398.1 MB Notification: Performance of Templates: time 0.00425/0.3295, allocations: 2.315 MB / 0.5606 GB, free: 2.086 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.180183607852086]