Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.00104/0.00104, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001694/0.002733, 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.001068/0.001068, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001514/0.002581, allocations: 479.5 kB / 11.83 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 1.052/1.052, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09988/1.152, 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.1737/0.1737, allocations: 29.45 MB / 273.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1458/0.3195, allocations: 9.533 MB / 283.1 MB, free: 12.84 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.ImpedanceTest,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.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,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.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.363e-05, allocations: 6.312 kB / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005656/0.00568, allocations: 3.569 MB / 288 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.007666, allocations: 1.169 MB / 289.2 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.007839, allocations: 12.78 kB / 289.2 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.008578, allocations: 259.6 kB / 289.4 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006828/0.009261, allocations: 286.4 kB / 289.7 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.009574, allocations: 105.7 kB / 289.8 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005239/0.0101, allocations: 359.2 kB / 290.2 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003287/0.01043, allocations: 120.2 kB / 290.3 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004635/0.01089, allocations: 220.7 kB / 290.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.01122, allocations: 154.9 kB / 290.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.01125, allocations: 15.12 kB / 290.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006507/0.0119, allocations: 265.4 kB / 290.9 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.01205, allocations: 104.2 kB / 291 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.01216, allocations: 62.88 kB / 291.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.01263, allocations: 279.3 kB / 291.4 MB, free: 6.832 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/0.01264, allocations: 1.312 kB / 291.4 MB, free: 6.832 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01264, allocations: 4 kB / 291.4 MB, free: 6.828 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.01265, allocations: 0 / 291.4 MB, free: 6.828 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.0006558/0.01331, allocations: 486.9 kB / 291.9 MB, free: 6.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.01334, allocations: 9.75 kB / 291.9 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005847/0.01392, allocations: 208.9 kB / 292.1 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.01416, allocations: 197.8 kB / 292.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.01417, allocations: 16.62 kB / 292.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.01421, allocations: 15.59 kB / 292.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.01446, allocations: 207.5 kB / 292.5 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.01447, allocations: 5.156 kB / 292.5 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.01449, allocations: 9.656 kB / 292.5 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.01451, allocations: 11.78 kB / 292.5 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.01465, allocations: 94.72 kB / 292.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008295/0.01547, allocations: 0.9736 MB / 293.6 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.01578, allocations: 196.9 kB / 293.8 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.01582, allocations: 33.41 kB / 293.8 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.01584, allocations: 7.984 kB / 293.8 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.01586, allocations: 32.56 kB / 293.8 MB, free: 4.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.01586, allocations: 0 / 293.8 MB, free: 4.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004335/0.01629, allocations: 198.2 kB / 294 MB, free: 4.715 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.01634, allocations: 83.02 kB / 294.1 MB, free: 4.617 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.01645, allocations: 176.4 kB / 294.3 MB, free: 4.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.01647, allocations: 30.89 kB / 294.3 MB, free: 4.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.01653, allocations: 156.5 kB / 294.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.01656, allocations: 50.39 kB / 294.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.01661, allocations: 44.12 kB / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01672, allocations: 326.9 kB / 294.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.091e-05/0.01675, allocations: 25.16 kB / 294.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.01682, allocations: 114.6 kB / 295 MB, free: 3.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.01695, allocations: 181.5 kB / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01695, allocations: 2 kB / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000189/0.01714, allocations: 172.8 kB / 295.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01715, allocations: 5.562 kB / 295.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01716, allocations: 7.938 kB / 295.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.01731, allocations: 32.83 kB / 295.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.0174, allocations: 55.91 kB / 295.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006815/0.01808, allocations: 1.195 MB / 296.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.01815, allocations: 8 kB / 296.7 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.01816, allocations: 8 kB / 296.7 MB, free: 2 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 (24): * Single equations (assignments): 23 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.627e-05/0.01824, allocations: 136.5 kB / 296.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.01826, allocations: 15.98 kB / 296.8 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.01841, allocations: 117.4 kB / 296.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.01842, allocations: 4 kB / 297 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01842, allocations: 0 / 297 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01843, allocations: 3.938 kB / 297 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.01875, allocations: 377.9 kB / 297.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01875, allocations: 4 kB / 297.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.0188, allocations: 19.98 kB / 297.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.01881, allocations: 27.88 kB / 297.4 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.059e-05/0.01888, allocations: 24.83 kB / 297.4 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.01889, allocations: 8 kB / 297.4 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006652/0.01956, allocations: 1.202 MB / 298.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.01956, allocations: 0 / 298.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.01973, allocations: 278.9 kB / 298.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.01974, allocations: 7.984 kB / 298.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.01979, allocations: 8 kB / 298.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.01981, allocations: 11.92 kB / 298.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.01982, allocations: 4 kB / 298.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.369e-05/0.01985, allocations: 42.78 kB / 299 MB, free: 15.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01985, allocations: 4 kB / 299 MB, free: 15.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.02005, allocations: 52.06 kB / 299 MB, free: 15.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.943e-05/0.02012, allocations: 88.34 kB / 299.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.02035, allocations: 210.6 kB / 299.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.806e-05/0.02037, allocations: 4 kB / 299.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.02054, allocations: 168.7 kB / 299.5 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.02077, allocations: 159.7 kB / 299.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.02485, allocations: 440.1 kB / 300.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.36e-05/0.0249, allocations: 95.95 kB / 300.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.775e-05/0.02495, allocations: 21.62 kB / 300.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.02501, allocations: 63.38 kB / 300.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02501, allocations: 4 kB / 300.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Templates: time 0.003273/0.02828, allocations: 1.767 MB / 302 MB, free: 12.4 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.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.84981725551188]