Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,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.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,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.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001508, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.1 MB / 223.1 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 98.67 kB / 270.5 MB, free: 8.453 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1716/0.1716, allocations: 38.01 MB / 355.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001542, allocations: 51.92 kB / 421.9 MB, free: 37.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3834, allocations: 55.24 MB / 477.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.006897/0.3904, allocations: 3.689 MB / 480.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.3928, allocations: 1.554 MB / 482.3 MB, free: 6.219 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.3929, allocations: 11.44 kB / 482.4 MB, free: 6.215 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008348/0.3938, allocations: 244.2 kB / 482.6 MB, free: 6.066 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006148/0.3944, allocations: 262.5 kB / 482.8 MB, free: 5.934 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.3947, allocations: 99.62 kB / 482.9 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006936/0.3954, allocations: 0.5591 MB / 483.5 MB, free: 5.723 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003364/0.3957, allocations: 143.8 kB / 483.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.396, allocations: 123.8 kB / 483.8 MB, free: 5.613 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.3963, allocations: 166.5 kB / 483.9 MB, free: 5.551 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.3963, allocations: 11.31 kB / 483.9 MB, free: 5.551 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007238/0.397, allocations: 375.9 kB / 484.3 MB, free: 5.414 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.3972, allocations: 109.8 kB / 484.4 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.3973, allocations: 98.8 kB / 484.5 MB, free: 5.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.3979, allocations: 364 kB / 484.9 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3979, allocations: 5.781 kB / 484.9 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.3979, allocations: 0 / 484.9 MB, free: 5.188 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3979, allocations: 0 / 484.9 MB, free: 5.188 MB / 314.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.0006688/0.3986, allocations: 0.4998 MB / 485.4 MB, free: 4.734 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3986, allocations: 8.25 kB / 485.4 MB, free: 4.734 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008224/0.3994, allocations: 91.84 kB / 485.5 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.3998, allocations: 265.5 kB / 485.7 MB, free: 4.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.3998, allocations: 11.58 kB / 485.7 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.3999, allocations: 19.16 kB / 485.8 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.4004, allocations: 330.5 kB / 486.1 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.4005, allocations: 0 / 486.1 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.4005, allocations: 10.38 kB / 486.1 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/0.4005, allocations: 15.23 kB / 486.1 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.401, allocations: 287.4 kB / 486.4 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.4026, allocations: 1.292 MB / 487.7 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.403, allocations: 243 kB / 487.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.39e-05/0.4031, allocations: 55.03 kB / 488 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.4031, allocations: 2.75 kB / 488 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.4031, allocations: 36.73 kB / 488 MB, free: 2.934 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.4032, allocations: 0 / 488 MB, free: 2.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006445/0.4038, allocations: 298.2 kB / 488.3 MB, free: 2.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.4039, allocations: 82.45 kB / 488.4 MB, free: 2.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.4041, allocations: 187.7 kB / 488.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.4042, allocations: 29.7 kB / 488.6 MB, free: 2.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.4043, allocations: 164.7 kB / 488.8 MB, free: 2.375 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.4043, allocations: 46.95 kB / 488.8 MB, free: 2.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.4044, allocations: 44.95 kB / 488.8 MB, free: 2.309 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.4045, allocations: 325.3 kB / 489.2 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.4046, allocations: 48.83 kB / 489.2 MB, free: 1.977 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.4047, allocations: 146.3 kB / 489.3 MB, free: 1.832 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.405, allocations: 226.3 kB / 489.6 MB, free: 1.645 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.405, allocations: 1.188 kB / 489.6 MB, free: 1.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003449/0.4053, allocations: 229.3 kB / 489.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4054, allocations: 8.5 kB / 489.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4054, allocations: 3.719 kB / 489.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4054, allocations: 5.859 kB / 489.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.4056, allocations: 48.23 kB / 489.9 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.4056, allocations: 5.375 kB / 489.9 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.4057, allocations: 10.33 kB / 489.9 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.4057, allocations: 13.55 kB / 489.9 MB, free: 1.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.4059, allocations: 156.5 kB / 490 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.406, allocations: 15.44 kB / 490.1 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.4063, allocations: 152.8 kB / 490.2 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4063, allocations: 1.438 kB / 490.2 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4063, allocations: 1.125 kB / 490.2 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4063, allocations: 2.703 kB / 490.2 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009212/0.4072, allocations: 0.6692 MB / 490.9 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.4072, allocations: 8.188 kB / 490.9 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.4074, allocations: 33.48 kB / 490.9 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.4074, allocations: 7.812 kB / 490.9 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.4074, allocations: 10.03 kB / 490.9 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.4074, allocations: 5.75 kB / 490.9 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.4074, allocations: 7.781 kB / 491 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.4081, allocations: 0.9535 MB / 491.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.4082, allocations: 95.38 kB / 492 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.4082, allocations: 13.94 kB / 492 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.4083, allocations: 4.812 kB / 492 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.4084, allocations: 23.66 kB / 492 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.4084, allocations: 9.172 kB / 492 MB, free: 15.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.4086, allocations: 146 kB / 492.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4086, allocations: 0 / 492.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005139/0.4091, allocations: 47.95 kB / 492.2 MB, free: 15.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001339/0.4092, allocations: 107.5 kB / 492.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.4095, allocations: 132.8 kB / 492.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.4095, allocations: 1.781 kB / 492.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.4097, allocations: 69.92 kB / 492.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.4101, allocations: 41.02 kB / 492.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.4115, allocations: 0.7251 MB / 493.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.412, allocations: 0.7601 MB / 494.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000181/0.4122, allocations: 44.06 kB / 494.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.4122, allocations: 22.22 kB / 494.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4122, allocations: 0 / 494.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of Templates: time 0.005144/0.4174, allocations: 1.315 MB / 495.4 MB, free: 13.98 MB / 330.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches