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.001045/0.001045, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004902/0.004902, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.8299/0.8299, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2362/0.2362, allocations: 29.41 MB / 290.8 MB, free: 2.426 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.269e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003059/0.003081, allocations: 3.431 MB / 434.9 MB, free: 9.645 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.004363, allocations: 1.453 MB / 436.3 MB, free: 8.184 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.00447, allocations: 11.94 kB / 436.4 MB, free: 8.172 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008425/0.005313, allocations: 250.9 kB / 436.6 MB, free: 7.926 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.005673, allocations: 290.5 kB / 436.9 MB, free: 7.641 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.005854, allocations: 127.5 kB / 437 MB, free: 7.516 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.006132, allocations: 350.9 kB / 437.4 MB, free: 7.172 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.006356, allocations: 118.1 kB / 437.5 MB, free: 7.059 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.006588, allocations: 207.3 kB / 437.7 MB, free: 6.855 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.006771, allocations: 155.6 kB / 437.8 MB, free: 6.703 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.006793, allocations: 16 kB / 437.8 MB, free: 6.688 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.007034, allocations: 283 kB / 438.1 MB, free: 6.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.266e-05/0.007117, allocations: 115.7 kB / 438.2 MB, free: 6.297 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.17e-05/0.007179, allocations: 67.84 kB / 438.3 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.007505, allocations: 374.9 kB / 438.7 MB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.007508, allocations: 8 kB / 438.7 MB, free: 5.855 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007509, allocations: 0 / 438.7 MB, free: 5.855 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.007514, allocations: 0 / 438.7 MB, free: 5.855 MB / 410.7 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.0004932/0.008007, allocations: 456.9 kB / 439.1 MB, free: 5.379 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.008042, allocations: 11.98 kB / 439.1 MB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004826/0.008524, allocations: 104.7 kB / 439.2 MB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.008763, allocations: 209.4 kB / 439.4 MB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.008778, allocations: 20.3 kB / 439.5 MB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.008811, allocations: 20.33 kB / 439.5 MB, free: 4.996 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.009145, allocations: 322.7 kB / 439.8 MB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.009158, allocations: 192 / 439.8 MB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.009176, allocations: 12.38 kB / 439.8 MB, free: 4.645 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.009201, allocations: 19.88 kB / 439.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.009499, allocations: 311.7 kB / 440.1 MB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009795/0.01048, allocations: 1.128 MB / 441.3 MB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.01066, allocations: 153 kB / 441.4 MB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.01075, allocations: 94.02 kB / 441.5 MB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.01077, allocations: 4 kB / 441.5 MB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.01079, allocations: 34.5 kB / 441.5 MB, free: 2.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/0.01079, allocations: 3.984 kB / 441.5 MB, free: 2.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009108/0.0117, allocations: 0.5885 MB / 442.1 MB, free: 2.215 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.01174, allocations: 81.11 kB / 442.2 MB, free: 2.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.01186, allocations: 186.7 kB / 442.4 MB, free: 1.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.01188, allocations: 37.7 kB / 442.4 MB, free: 1.879 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.01195, allocations: 156.2 kB / 442.6 MB, free: 1.723 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.01198, allocations: 59.48 kB / 442.6 MB, free: 1.664 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.01204, allocations: 53.69 kB / 442.7 MB, free: 1.605 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.01212, allocations: 326.8 kB / 443 MB, free: 1.277 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/0.0122, allocations: 79.95 kB / 443.1 MB, free: 1.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.0123, allocations: 152.5 kB / 443.2 MB, free: 1.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.01277, allocations: 264.3 kB / 443.5 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01277, allocations: 0 / 443.5 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003577/0.01312, allocations: 358 kB / 443.8 MB, free: 380 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01314, allocations: 11.11 kB / 443.8 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01315, allocations: 4 kB / 443.9 MB, free: 368 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.01337, allocations: 88.78 kB / 443.9 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.01345, allocations: 31.98 kB / 444 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1552/0.1686, allocations: 2.016 MB / 446 MB, free: 53.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.1687, allocations: 15.11 kB / 446 MB, free: 53.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1688, allocations: 9.25 kB / 446 MB, free: 53.02 MB / 410.7 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.0001182/0.1689, allocations: 157.4 kB / 446.2 MB, free: 52.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.1689, allocations: 22.11 kB / 446.2 MB, free: 52.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.1693, allocations: 315.2 kB / 446.5 MB, free: 52.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1693, allocations: 5.672 kB / 446.5 MB, free: 52.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1693, allocations: 0 / 446.5 MB, free: 52.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1693, allocations: 0 / 446.5 MB, free: 52.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005988/0.1699, allocations: 0.6546 MB / 447.2 MB, free: 52.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1699, allocations: 3.312 kB / 447.2 MB, free: 52.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.1699, allocations: 26.84 kB / 447.2 MB, free: 52.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001464/0.1701, allocations: 76.62 kB / 447.3 MB, free: 52.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1701, allocations: 7.125 kB / 447.3 MB, free: 52.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008992/0.171, allocations: 1.904 MB / 449.2 MB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.171, allocations: 0 / 449.2 MB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.1713, allocations: 407.6 kB / 449.6 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.1713, allocations: 28.36 kB / 449.6 MB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1713, allocations: 4 kB / 449.6 MB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.43e-05/0.1714, allocations: 6.031 kB / 449.6 MB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.1714, allocations: 20.61 kB / 449.6 MB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1714, allocations: 7.719 kB / 449.6 MB, free: 50.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.666e-05/0.1715, allocations: 132.5 kB / 449.8 MB, free: 50.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1715, allocations: 2.938 kB / 449.8 MB, free: 50.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002827/0.1717, allocations: 65.84 kB / 449.8 MB, free: 50.53 MB / 410.7 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 9.423e-05/0.1718, allocations: 102.2 kB / 449.9 MB, free: 50.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003999/0.1722, allocations: 375.2 kB / 450.3 MB, free: 50.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1722, allocations: 0 / 450.3 MB, free: 50.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.1724, allocations: 247.6 kB / 450.5 MB, free: 50.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.1726, allocations: 36.77 kB / 450.6 MB, free: 50.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.1732, allocations: 0.5191 MB / 451.1 MB, free: 49.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.333e-05/0.1733, allocations: 159.4 kB / 451.2 MB, free: 49.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.1733, allocations: 18.03 kB / 451.3 MB, free: 49.7 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1733, allocations: 0 / 451.3 MB, free: 49.7 MB / 410.7 MB Notification: Performance of Templates: time 0.003339/0.1766, allocations: 3.622 MB / 454.9 MB, free: 49.47 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins/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: 4.832010740414262]