Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 112.6 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 200 kB / 18 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1786/0.1786, allocations: 38.04 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 458.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3725, allocations: 58.04 MB / 0.5041 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005123/0.3776, allocations: 3.949 MB / 0.508 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.3798, allocations: 1.821 MB / 0.5097 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.38, allocations: 5.688 kB / 0.5097 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009511/0.381, allocations: 374 kB / 0.5101 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008043/0.3818, allocations: 406 kB / 0.5105 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.3821, allocations: 140.5 kB / 0.5106 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.3827, allocations: 0.4902 MB / 0.5111 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.383, allocations: 209.3 kB / 0.5113 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.3834, allocations: 224.2 kB / 0.5115 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.3837, allocations: 224.7 kB / 0.5117 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.3837, allocations: 24.92 kB / 0.5118 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007185/0.3844, allocations: 439.5 kB / 0.5122 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.3846, allocations: 165 kB / 0.5123 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3848, allocations: 151.5 kB / 0.5125 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.3855, allocations: 498.5 kB / 0.5129 GB, free: 2.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3855, allocations: 0 / 0.5129 GB, free: 2.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3855, allocations: 1.906 kB / 0.5129 GB, free: 2.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3855, allocations: 0 / 0.5129 GB, free: 2.309 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007336/0.3862, allocations: 0.5961 MB / 0.5135 GB, free: 1.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3863, allocations: 8.969 kB / 0.5135 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.3875, allocations: 131.8 kB / 0.5137 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.3878, allocations: 306.3 kB / 0.514 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.3879, allocations: 20.45 kB / 0.514 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.3879, allocations: 28.61 kB / 0.514 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.3886, allocations: 440 kB / 0.5144 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3887, allocations: 2.156 kB / 0.5144 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.3887, allocations: 14.64 kB / 0.5144 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.3888, allocations: 21.67 kB / 0.5145 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.3895, allocations: 434.5 kB / 0.5149 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.3918, allocations: 1.703 MB / 0.5165 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.3922, allocations: 293.1 kB / 0.5168 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.3925, allocations: 139.3 kB / 0.517 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.3925, allocations: 2.719 kB / 0.517 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3926, allocations: 33.12 kB / 0.517 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.582e-06/0.3926, allocations: 0.5312 kB / 0.517 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001906/0.3945, allocations: 0.7939 MB / 0.5178 GB, free: 15.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.3946, allocations: 79.98 kB / 0.5178 GB, free: 15.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3948, allocations: 208.6 kB / 0.518 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.3948, allocations: 29.7 kB / 0.5181 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3949, allocations: 191.5 kB / 0.5182 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.533e-05/0.395, allocations: 71.89 kB / 0.5183 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3951, allocations: 69.59 kB / 0.5184 GB, free: 14.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3953, allocations: 331.1 kB / 0.5187 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3954, allocations: 108.5 kB / 0.5188 GB, free: 14.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.3958, allocations: 208.6 kB / 0.519 GB, free: 14.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.3962, allocations: 337.1 kB / 0.5193 GB, free: 13.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3962, allocations: 1.125 kB / 0.5193 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007956/0.397, allocations: 429.8 kB / 0.5197 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3971, allocations: 6.031 kB / 0.5197 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.3971, allocations: 4.656 kB / 0.5197 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004095/0.3975, allocations: 89.86 kB / 0.5198 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.3977, allocations: 59.17 kB / 0.5199 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.3998, allocations: 1.997 MB / 0.5218 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.4, allocations: 14.05 kB / 0.5218 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.4001, allocations: 19 kB / 0.5219 GB, free: 11.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002228/0.4003, allocations: 174.4 kB / 0.522 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.4004, allocations: 31.31 kB / 0.5221 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008844/0.4013, allocations: 378 kB / 0.5224 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.4013, allocations: 4.859 kB / 0.5224 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4013, allocations: 5.406 kB / 0.5224 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4013, allocations: 2.406 kB / 0.5224 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.403, allocations: 0.9109 MB / 0.5233 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.403, allocations: 2.172 kB / 0.5233 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.4032, allocations: 39 kB / 0.5234 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002761/0.4035, allocations: 67.97 kB / 0.5234 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.4035, allocations: 6.406 kB / 0.5234 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.4053, allocations: 1.915 MB / 0.5253 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4054, allocations: 1.406 kB / 0.5253 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/0.4061, allocations: 463.5 kB / 0.5257 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.4062, allocations: 97 kB / 0.5258 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.4062, allocations: 6 kB / 0.5258 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.4064, allocations: 12.16 kB / 0.5259 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.4064, allocations: 20.11 kB / 0.5259 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.4065, allocations: 9.406 kB / 0.5259 GB, free: 8.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.4066, allocations: 149.7 kB / 0.526 GB, free: 8.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4066, allocations: 0 / 0.526 GB, free: 8.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006245/0.4073, allocations: 86.09 kB / 0.5261 GB, free: 8.84 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 (22): * Single equations (assignments): 20 * 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): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.4075, allocations: 104.2 kB / 0.5262 GB, free: 8.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008332/0.4083, allocations: 432.4 kB / 0.5266 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.4083, allocations: 0 / 0.5266 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.4087, allocations: 287.6 kB / 0.5269 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.4092, allocations: 39.89 kB / 0.5269 GB, free: 8.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.4103, allocations: 0.6069 MB / 0.5275 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.4108, allocations: 0.8016 MB / 0.5283 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.4109, allocations: 55.77 kB / 0.5284 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.411, allocations: 22.2 kB / 0.5284 GB, free: 7.277 MB / 398.1 MB Notification: Performance of SimCode: time 1.834e-06/0.411, allocations: 0 / 0.5284 GB, free: 7.277 MB / 398.1 MB Notification: Performance of Templates: time 0.00697/0.418, allocations: 3.025 MB / 0.5313 GB, free: 6.594 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches