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.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.001324/0.001324, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001477/0.001477, allocations: 209 kB / 24.48 MB, free: 3.938 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.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2034/0.2034, allocations: 38.56 MB / 353.2 MB, free: 12.3 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.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: 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.002144/0.002144, allocations: 72.17 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3122, allocations: 62.46 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005216/0.3174, allocations: 3.453 MB / 0.5465 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.3198, allocations: 1.45 MB / 0.5479 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.32, allocations: 9.219 kB / 0.5479 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008411/0.3208, allocations: 243.8 kB / 0.5482 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006856/0.3215, allocations: 288.2 kB / 0.5485 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.3219, allocations: 126.8 kB / 0.5486 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.3223, allocations: 348.1 kB / 0.5489 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.3226, allocations: 118.5 kB / 0.549 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.3229, allocations: 165.5 kB / 0.5492 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.3232, allocations: 157.5 kB / 0.5493 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.3232, allocations: 14.59 kB / 0.5493 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.3237, allocations: 284 kB / 0.5496 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.3239, allocations: 101.3 kB / 0.5497 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.324, allocations: 90.73 kB / 0.5498 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.3245, allocations: 355.7 kB / 0.5501 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3245, allocations: 5.406 kB / 0.5501 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3245, allocations: 0 / 0.5501 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3245, allocations: 0 / 0.5501 GB, free: 11.21 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.0007659/0.3253, allocations: 459.9 kB / 0.5506 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3253, allocations: 13.42 kB / 0.5506 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000988/0.3263, allocations: 110.9 kB / 0.5507 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.3267, allocations: 214.4 kB / 0.5509 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.3267, allocations: 15.7 kB / 0.5509 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.3268, allocations: 15.78 kB / 0.5509 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.3273, allocations: 338.9 kB / 0.5513 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3274, allocations: 1.656 kB / 0.5513 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.3274, allocations: 5.344 kB / 0.5513 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/0.3274, allocations: 17.83 kB / 0.5513 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.3279, allocations: 310.8 kB / 0.5516 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.3297, allocations: 1.127 MB / 0.5527 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.33, allocations: 148.5 kB / 0.5528 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.3302, allocations: 97.39 kB / 0.5529 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3302, allocations: 7.719 kB / 0.5529 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.3303, allocations: 32.78 kB / 0.553 GB, free: 9.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.903e-06/0.3303, allocations: 0 / 0.553 GB, free: 9.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001633/0.3319, allocations: 0.5941 MB / 0.5535 GB, free: 8.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.332, allocations: 79.55 kB / 0.5536 GB, free: 8.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.3322, allocations: 184.2 kB / 0.5538 GB, free: 8.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3322, allocations: 30.8 kB / 0.5538 GB, free: 8.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3323, allocations: 155.9 kB / 0.554 GB, free: 8.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/0.3324, allocations: 63.69 kB / 0.554 GB, free: 8.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.3324, allocations: 43.17 kB / 0.5541 GB, free: 8.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3326, allocations: 331.2 kB / 0.5544 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3328, allocations: 86.38 kB / 0.5545 GB, free: 7.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.333, allocations: 144 kB / 0.5546 GB, free: 7.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.3333, allocations: 266.4 kB / 0.5549 GB, free: 7.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3333, allocations: 0 / 0.5549 GB, free: 7.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006795/0.334, allocations: 352.3 kB / 0.5552 GB, free: 7.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.334, allocations: 6.125 kB / 0.5552 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3341, allocations: 1.344 kB / 0.5552 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.3344, allocations: 89.19 kB / 0.5553 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.3346, allocations: 40.53 kB / 0.5553 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.3374, allocations: 2.032 MB / 0.5573 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.3375, allocations: 15.98 kB / 0.5573 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.3376, allocations: 8 kB / 0.5573 GB, free: 5.289 MB / 398.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.0002079/0.3378, allocations: 160.3 kB / 0.5575 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.3378, allocations: 23.86 kB / 0.5575 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006721/0.3385, allocations: 318 kB / 0.5578 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3385, allocations: 4.031 kB / 0.5578 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3385, allocations: 4 kB / 0.5578 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3385, allocations: 3.984 kB / 0.5578 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.3398, allocations: 0.6565 MB / 0.5585 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3398, allocations: 0 / 0.5585 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.3399, allocations: 23.98 kB / 0.5585 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002997/0.3402, allocations: 80.72 kB / 0.5586 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.3403, allocations: 4 kB / 0.5586 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.3426, allocations: 1.903 MB / 0.5604 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3426, allocations: 3.938 kB / 0.5604 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.3432, allocations: 402.6 kB / 0.5608 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.3433, allocations: 23.84 kB / 0.5608 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.3433, allocations: 12.06 kB / 0.5608 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3435, allocations: 4 kB / 0.5608 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.3435, allocations: 23.84 kB / 0.5609 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.3436, allocations: 8 kB / 0.5609 GB, free: 1.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.3437, allocations: 136.3 kB / 0.561 GB, free: 1.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3437, allocations: 0 / 0.561 GB, free: 1.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005478/0.3442, allocations: 64 kB / 0.5611 GB, free: 1.25 MB / 398.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 0.0001442/0.3444, allocations: 99.19 kB / 0.5612 GB, free: 1.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009105/0.3453, allocations: 385.5 kB / 0.5615 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3453, allocations: 0 / 0.5615 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.3458, allocations: 255.1 kB / 0.5618 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.3462, allocations: 34.64 kB / 0.5618 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3474, allocations: 0.5241 MB / 0.5623 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.3476, allocations: 160.6 kB / 0.5625 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.3477, allocations: 23.44 kB / 0.5625 GB, free: 15.69 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3477, allocations: 0 / 0.5625 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Templates: time 0.006877/0.3546, allocations: 3.622 MB / 0.566 GB, free: 12.07 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins1/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.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2],time [Calling sys.exit(0), Time elapsed: 8.045650498010218]