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.001717/0.001717, allocations: 67.77 kB / 21.24 MB, free: 404 kB / 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.00229/0.00229, allocations: 169.4 kB / 24.5 MB, free: 3.453 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.577/1.577, allocations: 177.2 MB / 204.9 MB, free: 8.902 MB / 190.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.1778/0.1778, allocations: 29.43 MB / 290.7 MB, free: 3.262 MB / 270.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.002092/0.002092, allocations: 63.89 kB / 431.2 MB, free: 3.215 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3572, allocations: 62.45 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004675/0.3619, allocations: 3.449 MB / 497.1 MB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.3645, allocations: 1.448 MB / 498.5 MB, free: 34.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.3647, allocations: 10.41 kB / 498.5 MB, free: 34.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009268/0.3656, allocations: 250.8 kB / 498.8 MB, free: 34.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007867/0.3664, allocations: 281.9 kB / 499.1 MB, free: 34.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.3668, allocations: 129.9 kB / 499.2 MB, free: 34.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004156/0.3672, allocations: 350.2 kB / 499.5 MB, free: 33.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.3675, allocations: 119.3 kB / 499.6 MB, free: 33.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.3678, allocations: 159.9 kB / 499.8 MB, free: 33.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.3681, allocations: 163.7 kB / 500 MB, free: 33.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.3682, allocations: 12.5 kB / 500 MB, free: 33.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.3687, allocations: 283.6 kB / 0.4885 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3688, allocations: 104.6 kB / 0.4886 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.3689, allocations: 88.95 kB / 0.4887 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.3695, allocations: 358.7 kB / 0.4891 GB, free: 33.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3695, allocations: 3.938 kB / 0.4891 GB, free: 33.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3695, allocations: 0 / 0.4891 GB, free: 33.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.3695, allocations: 3.562 kB / 0.4891 GB, free: 33.45 MB / 446.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.0007551/0.3702, allocations: 449.9 kB / 0.4895 GB, free: 33.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3703, allocations: 17.55 kB / 0.4895 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.3718, allocations: 104.5 kB / 0.4896 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.3722, allocations: 219.6 kB / 0.4898 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3723, allocations: 10.69 kB / 0.4898 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-05/0.3723, allocations: 25.14 kB / 0.4898 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.3729, allocations: 333.7 kB / 0.4902 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.3729, allocations: 4 kB / 0.4902 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.373, allocations: 7.031 kB / 0.4902 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.373, allocations: 16.17 kB / 0.4902 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.3736, allocations: 310.2 kB / 0.4905 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.3753, allocations: 1.136 MB / 0.4916 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.3756, allocations: 156.5 kB / 0.4917 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.3758, allocations: 92.33 kB / 0.4918 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3758, allocations: 7.125 kB / 0.4918 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.3758, allocations: 33.47 kB / 0.4919 GB, free: 31.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.853e-06/0.3758, allocations: 0 / 0.4919 GB, free: 31.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001829/0.3776, allocations: 0.5896 MB / 0.4924 GB, free: 31.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.3777, allocations: 77.11 kB / 0.4925 GB, free: 31.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3778, allocations: 187.1 kB / 0.4927 GB, free: 31.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3779, allocations: 25.7 kB / 0.4927 GB, free: 31.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.3779, allocations: 158.8 kB / 0.4929 GB, free: 30.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.378, allocations: 68.09 kB / 0.4929 GB, free: 30.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.3781, allocations: 44.31 kB / 0.493 GB, free: 30.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.3781, allocations: 336.2 kB / 0.4933 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.3783, allocations: 83.45 kB / 0.4934 GB, free: 30.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.3785, allocations: 145.4 kB / 0.4935 GB, free: 30.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.3789, allocations: 264.7 kB / 0.4938 GB, free: 30.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3789, allocations: 0 / 0.4938 GB, free: 30.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008185/0.3797, allocations: 347.6 kB / 0.4941 GB, free: 30.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3798, allocations: 6.281 kB / 0.4941 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3798, allocations: 2.844 kB / 0.4941 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.3803, allocations: 96.61 kB / 0.4942 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.3805, allocations: 36.12 kB / 0.4942 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.3832, allocations: 2.032 MB / 0.4962 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.3834, allocations: 13.81 kB / 0.4962 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.3835, allocations: 9.688 kB / 0.4962 GB, free: 28.41 MB / 446.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.0001538/0.3836, allocations: 154.2 kB / 0.4964 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/0.3837, allocations: 27.86 kB / 0.4964 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007823/0.3845, allocations: 312.5 kB / 0.4967 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.3845, allocations: 3.125 kB / 0.4967 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.3845, allocations: 0 / 0.4967 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3845, allocations: 4 kB / 0.4967 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.3859, allocations: 0.6518 MB / 0.4974 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3859, allocations: 3.25 kB / 0.4974 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.386, allocations: 30.81 kB / 0.4974 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003654/0.3864, allocations: 74.94 kB / 0.4975 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.3864, allocations: 11.28 kB / 0.4975 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.3887, allocations: 1.901 MB / 0.4993 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3887, allocations: 2.969 kB / 0.4993 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007909/0.3895, allocations: 407.3 kB / 0.4997 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.3895, allocations: 25.02 kB / 0.4997 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.3896, allocations: 3.281 kB / 0.4998 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.3898, allocations: 10 kB / 0.4998 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.3899, allocations: 21.02 kB / 0.4998 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.3899, allocations: 6.609 kB / 0.4998 GB, free: 25.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.39, allocations: 136.7 kB / 0.4999 GB, free: 25.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.39, allocations: 4 kB / 0.4999 GB, free: 25.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006853/0.3907, allocations: 63.78 kB / 0.5 GB, free: 25.73 MB / 446.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.0001266/0.3908, allocations: 99.06 kB / 0.5001 GB, free: 25.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009575/0.3918, allocations: 380.8 kB / 0.5004 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3918, allocations: 0 / 0.5004 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.3922, allocations: 256.4 kB / 0.5007 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.3928, allocations: 33.88 kB / 0.5007 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/0.3937, allocations: 0.4967 MB / 0.5012 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.3939, allocations: 150 kB / 0.5013 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.394, allocations: 44.98 kB / 0.5014 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.3941, allocations: 18.22 kB / 0.5014 GB, free: 24.86 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3941, allocations: 0 / 0.5014 GB, free: 24.86 MB / 446.1 MB Notification: Performance of Templates: time 0.008383/0.4025, allocations: 2.825 MB / 0.5042 GB, free: 24.54 MB / 446.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 -s ida -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.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.325125022092834]