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/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.001132/0.001132, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001649/0.002781, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001063/0.001063, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002438, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9979/0.9979, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.101, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1218/0.1218, allocations: 29.45 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1367/0.2584, allocations: 9.528 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.358e-06/1.102e-05, allocations: 4.359 kB / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003104/0.003115, allocations: 3.569 MB / 288 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.00432, allocations: 1.174 MB / 289.2 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.004405, allocations: 13.38 kB / 289.2 MB, free: 8.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.004815, allocations: 251.2 kB / 289.4 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.005147, allocations: 291 kB / 289.7 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.005305, allocations: 109.8 kB / 289.8 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.005601, allocations: 363.5 kB / 290.2 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.005778, allocations: 120.5 kB / 290.3 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.006018, allocations: 219.3 kB / 290.5 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.00621, allocations: 156.3 kB / 290.7 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.006231, allocations: 13.75 kB / 290.7 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.006509, allocations: 261.4 kB / 290.9 MB, free: 7 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.467e-05/0.006594, allocations: 108.2 kB / 291 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.006659, allocations: 67.16 kB / 291.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.006954, allocations: 284.5 kB / 291.4 MB, free: 6.812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.006961, allocations: 0 / 291.4 MB, free: 6.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006962, allocations: 0 / 291.4 MB, free: 6.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.006969, allocations: 0 / 291.4 MB, free: 6.812 MB / 282.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.0004201/0.007389, allocations: 486.9 kB / 291.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.406e-05/0.007413, allocations: 9.344 kB / 291.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/0.007869, allocations: 210 kB / 292.1 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.008046, allocations: 197.6 kB / 292.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.008058, allocations: 11.44 kB / 292.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.008083, allocations: 19.98 kB / 292.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.008274, allocations: 208.6 kB / 292.5 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.008283, allocations: 5.156 kB / 292.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.008296, allocations: 6.75 kB / 292.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.008317, allocations: 14.89 kB / 292.5 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.008437, allocations: 86.27 kB / 292.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007357/0.009173, allocations: 0.974 MB / 293.6 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.009355, allocations: 150.1 kB / 293.7 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.009387, allocations: 29.86 kB / 293.8 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.0094, allocations: 7 kB / 293.8 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.009418, allocations: 33.19 kB / 293.8 MB, free: 4.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.00942, allocations: 7.984 kB / 293.8 MB, free: 4.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.000228/0.009648, allocations: 153.5 kB / 294 MB, free: 4.734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.009677, allocations: 82.55 kB / 294 MB, free: 4.637 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.009766, allocations: 177.3 kB / 294.2 MB, free: 4.484 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.009777, allocations: 25.7 kB / 294.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.00984, allocations: 165.4 kB / 294.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.009866, allocations: 49.86 kB / 294.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.009908, allocations: 40.62 kB / 294.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.009981, allocations: 330.7 kB / 294.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.01001, allocations: 19.41 kB / 294.8 MB, free: 3.891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.01007, allocations: 117.6 kB / 295 MB, free: 3.754 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.01019, allocations: 174 kB / 295.1 MB, free: 3.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01019, allocations: 0 / 295.1 MB, free: 3.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001267/0.01032, allocations: 155.2 kB / 295.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.01033, allocations: 8.5 kB / 295.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.01033, allocations: 3.812 kB / 295.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.01034, allocations: 4.281 kB / 295.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.01043, allocations: 50.83 kB / 295.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.01043, allocations: 11.92 kB / 295.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.01048, allocations: 8 kB / 295.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01049, allocations: 12 kB / 295.4 MB, free: 3.426 MB / 282.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 5.916e-05/0.01055, allocations: 124.5 kB / 295.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.01057, allocations: 15.98 kB / 295.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.01067, allocations: 97.11 kB / 295.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01067, allocations: 3.938 kB / 295.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01068, allocations: 7.938 kB / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01068, allocations: 0 / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.01104, allocations: 462.3 kB / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01104, allocations: 8.344 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.01109, allocations: 31.92 kB / 296.1 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.01111, allocations: 19.89 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01111, allocations: 4 kB / 296.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.01112, allocations: 8 kB / 296.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.01112, allocations: 4 kB / 296.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.01113, allocations: 3.938 kB / 296.1 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.01129, allocations: 331.8 kB / 296.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.01131, allocations: 8 kB / 296.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.448e-05/0.01136, allocations: 8 kB / 296.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.01138, allocations: 23.91 kB / 296.5 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.01139, allocations: 4 kB / 296.5 MB, free: 2.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.217e-05/0.01142, allocations: 50.72 kB / 296.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01142, allocations: 0 / 296.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.0116, allocations: 44 kB / 296.6 MB, free: 2.047 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 5.846e-05/0.01166, allocations: 84.36 kB / 296.7 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.923e-05/0.01176, allocations: 100.8 kB / 296.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.01176, allocations: 4 kB / 296.8 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.211e-05/0.01184, allocations: 116.5 kB / 296.9 MB, free: 1.727 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.01208, allocations: 186 kB / 297.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.0161, allocations: 0.5075 MB / 297.6 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.559e-05/0.01615, allocations: 99.95 kB / 297.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.639e-05/0.0162, allocations: 21.81 kB / 297.7 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.01627, allocations: 71.36 kB / 297.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01627, allocations: 0 / 297.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of Templates: time 0.00255/0.01882, allocations: 1.289 MB / 299.1 MB, free: 15.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6735095055773854]