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.0008926/0.0008926, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009599/0.001853, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006779/0.0006779, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008592/0.001537, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9476/0.9476, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08169/1.029, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.1536/0.1536, allocations: 29.44 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1255/0.2791, allocations: 9.526 MB / 283 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.192e-06/1.192e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.97e-05, allocations: 4.797 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003542/0.003561, allocations: 3.551 MB / 287.8 MB, free: 9.078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.004872, allocations: 1.173 MB / 289 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.004982, allocations: 9.312 kB / 289 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005322/0.005514, allocations: 255.9 kB / 289.2 MB, free: 7.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004183/0.005932, allocations: 290.9 kB / 289.5 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.006128, allocations: 105 kB / 289.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.006434, allocations: 362.9 kB / 290 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.006649, allocations: 111.7 kB / 290.1 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.006926, allocations: 221.2 kB / 290.3 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.007137, allocations: 151.2 kB / 290.4 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.007161, allocations: 18.28 kB / 290.4 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.007486, allocations: 265.9 kB / 290.7 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.00758, allocations: 99.88 kB / 290.8 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.318e-05/0.007653, allocations: 62.59 kB / 290.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.007994, allocations: 283.8 kB / 291.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.72e-05/0.008011, allocations: 0 / 291.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.008012, allocations: 0 / 291.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.008028, allocations: 1.375 kB / 291.1 MB, free: 6.895 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.0005736/0.008602, allocations: 490.8 kB / 291.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.008632, allocations: 8.25 kB / 291.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/0.009152, allocations: 213.1 kB / 291.8 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.00938, allocations: 195.2 kB / 292 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.009397, allocations: 11.19 kB / 292 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.009426, allocations: 20.3 kB / 292.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.009654, allocations: 207.6 kB / 292.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.009666, allocations: 5.344 kB / 292.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.00968, allocations: 5.375 kB / 292.3 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.009708, allocations: 22.02 kB / 292.3 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.009832, allocations: 93.28 kB / 292.4 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008476/0.01068, allocations: 0.9678 MB / 293.4 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.01097, allocations: 196.5 kB / 293.5 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.01101, allocations: 33.17 kB / 293.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.01103, allocations: 7.109 kB / 293.6 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.01105, allocations: 37.25 kB / 293.6 MB, free: 4.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.01105, allocations: 0 / 293.6 MB, free: 4.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004262/0.01148, allocations: 182.2 kB / 293.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.01151, allocations: 88.42 kB / 293.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.869e-05/0.0116, allocations: 175.8 kB / 294.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.01161, allocations: 35.7 kB / 294.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.01167, allocations: 156.3 kB / 294.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.0117, allocations: 50.48 kB / 294.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.01174, allocations: 44.88 kB / 294.3 MB, free: 4.277 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.01181, allocations: 326.4 kB / 294.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.01184, allocations: 21.59 kB / 294.7 MB, free: 3.945 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.99e-05/0.01191, allocations: 117 kB / 294.8 MB, free: 3.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.01203, allocations: 161.4 kB / 294.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01204, allocations: 5.062 kB / 295 MB, free: 3.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002044/0.01224, allocations: 178.7 kB / 295.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.01226, allocations: 7.219 kB / 295.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.01227, allocations: 4.281 kB / 295.1 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.01242, allocations: 37.27 kB / 295.2 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.01251, allocations: 43.92 kB / 295.2 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006313/0.01314, allocations: 1.199 MB / 296.4 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.01319, allocations: 8.125 kB / 296.4 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.01321, allocations: 19.92 kB / 296.4 MB, free: 2.125 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.205e-05/0.01328, allocations: 128.5 kB / 296.6 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.0133, allocations: 19.92 kB / 296.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.01345, allocations: 109.3 kB / 296.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01345, allocations: 0 / 296.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.01346, allocations: 4 kB / 296.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01346, allocations: 3.938 kB / 296.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.0138, allocations: 389.9 kB / 297.1 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.01381, allocations: 0 / 297.1 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.01386, allocations: 31.86 kB / 297.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.01387, allocations: 11.91 kB / 297.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.297e-05/0.01394, allocations: 24.83 kB / 297.2 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.01395, allocations: 8 kB / 297.2 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005156/0.01447, allocations: 1.198 MB / 298.4 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01447, allocations: 0 / 298.4 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.01464, allocations: 288.5 kB / 298.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.01465, allocations: 4.125 kB / 298.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.871e-05/0.0147, allocations: 12 kB / 298.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.01472, allocations: 15.91 kB / 298.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.01473, allocations: 4 kB / 298.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.005e-05/0.01476, allocations: 45.66 kB / 298.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01476, allocations: 0 / 298.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.01494, allocations: 48 kB / 298.8 MB, free: 15.61 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 8.426e-05/0.01502, allocations: 88.34 kB / 298.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.01525, allocations: 213.6 kB / 299.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.01525, allocations: 0 / 299.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.85e-05/0.01534, allocations: 156.1 kB / 299.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.01553, allocations: 51.77 kB / 299.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.01968, allocations: 453.3 kB / 299.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.57e-05/0.01974, allocations: 91.97 kB / 299.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.592e-05/0.0198, allocations: 21.47 kB / 299.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.01986, allocations: 71.38 kB / 299.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01986, allocations: 0 / 299.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of Templates: time 0.003434/0.02329, allocations: 1.776 MB / 301.7 MB, free: 12.65 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.745613989420235]