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.0012/0.0012, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001352/0.001352, allocations: 214.2 kB / 24.49 MB, free: 4.172 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.385/1.385, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.1821/0.1821, allocations: 38.53 MB / 353.2 MB, free: 12.56 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.002095/0.002095, allocations: 66.95 kB / 493.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3179, allocations: 62.49 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004735/0.3227, allocations: 3.596 MB / 0.5467 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.3256, allocations: 1.591 MB / 0.5483 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.3258, allocations: 9.312 kB / 0.5483 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.3269, allocations: 263.2 kB / 0.5485 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.328, allocations: 286.5 kB / 0.5488 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.3286, allocations: 131.5 kB / 0.5489 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000652/0.3292, allocations: 343.3 kB / 0.5493 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.3296, allocations: 122.6 kB / 0.5494 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.33, allocations: 161 kB / 0.5495 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003929/0.3304, allocations: 166.9 kB / 0.5497 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.3305, allocations: 14.5 kB / 0.5497 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006845/0.3312, allocations: 341.1 kB / 0.55 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.3313, allocations: 105.7 kB / 0.5501 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.3315, allocations: 118.4 kB / 0.5503 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007285/0.3322, allocations: 350.4 kB / 0.5506 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3322, allocations: 0 / 0.5506 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3322, allocations: 1 kB / 0.5506 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.3322, allocations: 0 / 0.5506 GB, free: 11.01 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.0007525/0.333, allocations: 458.5 kB / 0.551 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.333, allocations: 13.39 kB / 0.551 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009778/0.334, allocations: 103.2 kB / 0.5511 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.3344, allocations: 221.7 kB / 0.5514 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.3344, allocations: 11 kB / 0.5514 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.3345, allocations: 16.66 kB / 0.5514 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.335, allocations: 337.4 kB / 0.5517 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.335, allocations: 0 / 0.5517 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.3351, allocations: 6.125 kB / 0.5517 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.3351, allocations: 21.95 kB / 0.5517 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.3356, allocations: 321.4 kB / 0.552 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.3374, allocations: 1.213 MB / 0.5532 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.3376, allocations: 156.8 kB / 0.5534 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3378, allocations: 100.5 kB / 0.5535 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.3378, allocations: 2.875 kB / 0.5535 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.3378, allocations: 40.05 kB / 0.5535 GB, free: 8.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.3378, allocations: 0 / 0.5535 GB, free: 8.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001513/0.3393, allocations: 0.5882 MB / 0.5541 GB, free: 8.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.3394, allocations: 79.42 kB / 0.5542 GB, free: 8.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3396, allocations: 192.6 kB / 0.5543 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.3396, allocations: 34.83 kB / 0.5544 GB, free: 8.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3397, allocations: 155.4 kB / 0.5545 GB, free: 7.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/0.3398, allocations: 67.52 kB / 0.5546 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.092e-05/0.3399, allocations: 50.59 kB / 0.5546 GB, free: 7.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.34, allocations: 327.5 kB / 0.5549 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3402, allocations: 78.7 kB / 0.555 GB, free: 7.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.3404, allocations: 150.1 kB / 0.5552 GB, free: 7.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.3407, allocations: 259.8 kB / 0.5554 GB, free: 7.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3407, allocations: 1.062 kB / 0.5554 GB, free: 7.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006337/0.3413, allocations: 351.2 kB / 0.5557 GB, free: 6.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3414, allocations: 6.594 kB / 0.5558 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3414, allocations: 2.188 kB / 0.5558 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/0.3417, allocations: 92.28 kB / 0.5558 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3419, allocations: 37.19 kB / 0.5559 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.3445, allocations: 2.066 MB / 0.5579 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.3447, allocations: 15.98 kB / 0.5579 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.3447, allocations: 12 kB / 0.5579 GB, free: 4.965 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.0001899/0.3449, allocations: 161.6 kB / 0.5581 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.3449, allocations: 19.89 kB / 0.5581 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006228/0.3455, allocations: 316 kB / 0.5584 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3455, allocations: 4 kB / 0.5584 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.3455, allocations: 0 / 0.5584 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.3455, allocations: 0 / 0.5584 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.3468, allocations: 0.7105 MB / 0.5591 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3468, allocations: 0 / 0.5591 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3469, allocations: 31.92 kB / 0.5591 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002611/0.3471, allocations: 72.78 kB / 0.5592 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.3472, allocations: 12.06 kB / 0.5592 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.3493, allocations: 1.937 MB / 0.5611 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3493, allocations: 4.031 kB / 0.5611 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.3499, allocations: 406.6 kB / 0.5615 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.3499, allocations: 27.73 kB / 0.5615 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.35, allocations: 7.984 kB / 0.5615 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3501, allocations: 8 kB / 0.5615 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3501, allocations: 19.97 kB / 0.5615 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3502, allocations: 4 kB / 0.5616 GB, free: 1.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3503, allocations: 144.3 kB / 0.5617 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3503, allocations: 0 / 0.5617 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004553/0.3507, allocations: 68 kB / 0.5618 GB, free: 0.8125 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.0001205/0.3509, allocations: 91.25 kB / 0.5618 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007185/0.3516, allocations: 385.1 kB / 0.5622 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3516, allocations: 4 kB / 0.5622 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003844/0.352, allocations: 247.2 kB / 0.5624 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3523, allocations: 42.36 kB / 0.5625 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009486/0.3533, allocations: 0.5321 MB / 0.563 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.3537, allocations: 0.7673 MB / 0.5638 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.3538, allocations: 19.44 kB / 0.5638 GB, free: 14.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3538, allocations: 0 / 0.5638 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Templates: time 0.005941/0.3597, allocations: 3.573 MB / 0.5673 GB, free: 11.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: 7.576833213912323]