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.001446/0.001446, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.001706/0.001706, allocations: 205.3 kB / 23.72 MB, free: 4.5 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2038/0.2038, allocations: 38.55 MB / 352.5 MB, free: 12.27 MB / 286.1 MB " [Timeout remaining time 179] 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.002105/0.002105, allocations: 70.25 kB / 493 MB, free: 4.152 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3654, allocations: 62.46 MB / 0.5424 GB, free: 392 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005462/0.3708, allocations: 3.45 MB / 0.5458 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3733, allocations: 1.449 MB / 0.5472 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.3735, allocations: 9.906 kB / 0.5472 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009293/0.3744, allocations: 243.3 kB / 0.5475 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006655/0.375, allocations: 288.6 kB / 0.5477 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.3754, allocations: 126.6 kB / 0.5478 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.3759, allocations: 344.2 kB / 0.5482 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.3761, allocations: 118.3 kB / 0.5483 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003258/0.3765, allocations: 169.2 kB / 0.5485 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.3767, allocations: 161.8 kB / 0.5486 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.3768, allocations: 15.47 kB / 0.5486 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004905/0.3773, allocations: 274.5 kB / 0.5489 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.3774, allocations: 107.1 kB / 0.549 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3775, allocations: 89.56 kB / 0.5491 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.3781, allocations: 360.4 kB / 0.5494 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3781, allocations: 0 / 0.5494 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3781, allocations: 0 / 0.5494 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3781, allocations: 5.25 kB / 0.5494 GB, free: 11.18 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.0008611/0.3789, allocations: 459.6 kB / 0.5499 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.379, allocations: 14.27 kB / 0.5499 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.38, allocations: 114.5 kB / 0.55 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.3804, allocations: 205.9 kB / 0.5502 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.3804, allocations: 15.45 kB / 0.5502 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.3805, allocations: 19.81 kB / 0.5502 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.381, allocations: 339.3 kB / 0.5505 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.381, allocations: 1.188 kB / 0.5505 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.3811, allocations: 5.281 kB / 0.5505 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.3811, allocations: 13.28 kB / 0.5506 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005136/0.3816, allocations: 310.7 kB / 0.5508 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.3835, allocations: 1.129 MB / 0.552 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.3838, allocations: 156.3 kB / 0.5521 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.384, allocations: 92.98 kB / 0.5522 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.384, allocations: 6.469 kB / 0.5522 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.384, allocations: 36.98 kB / 0.5522 GB, free: 8.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.914e-06/0.384, allocations: 1.062 kB / 0.5522 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001726/0.3858, allocations: 0.5926 MB / 0.5528 GB, free: 8.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.3858, allocations: 79.73 kB / 0.5529 GB, free: 8.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.386, allocations: 183.9 kB / 0.5531 GB, free: 8.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3861, allocations: 27.17 kB / 0.5531 GB, free: 8.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3862, allocations: 162.8 kB / 0.5532 GB, free: 8.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.44e-05/0.3863, allocations: 68.94 kB / 0.5533 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.3864, allocations: 42.73 kB / 0.5533 GB, free: 8.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.3866, allocations: 331.2 kB / 0.5537 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3867, allocations: 77.95 kB / 0.5537 GB, free: 7.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.3869, allocations: 152.5 kB / 0.5539 GB, free: 7.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.3873, allocations: 263.7 kB / 0.5541 GB, free: 7.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3873, allocations: 0 / 0.5541 GB, free: 7.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007191/0.388, allocations: 343.8 kB / 0.5545 GB, free: 7.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.3881, allocations: 5.812 kB / 0.5545 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3881, allocations: 6.312 kB / 0.5545 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004352/0.3885, allocations: 92.38 kB / 0.5546 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.3887, allocations: 41.56 kB / 0.5546 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/0.3915, allocations: 2.019 MB / 0.5566 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.3917, allocations: 15.98 kB / 0.5566 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.3917, allocations: 11.94 kB / 0.5566 GB, free: 5.242 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.0002469/0.392, allocations: 165.7 kB / 0.5568 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.392, allocations: 19.86 kB / 0.5568 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007052/0.3927, allocations: 319.9 kB / 0.5571 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3927, allocations: 0 / 0.5571 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.3927, allocations: 4 kB / 0.5571 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3927, allocations: 0 / 0.5571 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.394, allocations: 0.6525 MB / 0.5577 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.394, allocations: 0 / 0.5577 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.3941, allocations: 27.98 kB / 0.5578 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.3944, allocations: 84.78 kB / 0.5578 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.3944, allocations: 4 kB / 0.5578 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.3966, allocations: 1.899 MB / 0.5597 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3966, allocations: 0 / 0.5597 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.3973, allocations: 406.6 kB / 0.5601 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.3973, allocations: 19.86 kB / 0.5601 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.3974, allocations: 11.98 kB / 0.5601 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3975, allocations: 4 kB / 0.5601 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.3976, allocations: 27.91 kB / 0.5601 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3976, allocations: 11.94 kB / 0.5601 GB, free: 1.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.3977, allocations: 136.3 kB / 0.5603 GB, free: 1.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3977, allocations: 0 / 0.5603 GB, free: 1.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.3982, allocations: 64 kB / 0.5603 GB, free: 1.211 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.0001354/0.3983, allocations: 99.19 kB / 0.5604 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007663/0.3991, allocations: 377.4 kB / 0.5608 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3991, allocations: 0 / 0.5608 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.3995, allocations: 253.6 kB / 0.561 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3999, allocations: 35.97 kB / 0.5611 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009495/0.4008, allocations: 0.4954 MB / 0.5616 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.401, allocations: 160.5 kB / 0.5617 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.4011, allocations: 33.62 kB / 0.5617 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.4012, allocations: 19.42 kB / 0.5618 GB, free: 15.67 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4012, allocations: 0 / 0.5618 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Templates: time 0.007127/0.4083, allocations: 3.072 MB / 0.5648 GB, free: 12.62 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/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.L,line.R,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.p[1],line.p[2],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.phi,load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.potentialReference,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time [Calling sys.exit(0), Time elapsed: 5.46273897588253]