Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001135/0.001135, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001701/0.002836, 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.001056/0.001056, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002486, 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.9882/0.9882, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08229/1.071, allocations: 53.65 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.1135/0.1135, allocations: 29.44 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1531/0.2666, allocations: 9.536 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.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 1.125 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.197e-05, allocations: 8.125 kB / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006905/0.006927, allocations: 6.939 MB / 291.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004356/0.01128, allocations: 3.011 MB / 294.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004657/0.01175, allocations: 21.81 kB / 294.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.01298, allocations: 0.9242 MB / 295.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.01478, allocations: 1.168 MB / 296.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.01531, allocations: 300.1 kB / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.01638, allocations: 1.459 MB / 298.3 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.01676, allocations: 378.3 kB / 298.7 MB, free: 484 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006657/0.01742, allocations: 0.7922 MB / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.01794, allocations: 0.6074 MB / 300.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.01798, allocations: 36 kB / 300.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007935/0.01877, allocations: 0.7669 MB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.01895, allocations: 287.3 kB / 301.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.01906, allocations: 143.8 kB / 301.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.01967, allocations: 0.6775 MB / 302 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.01968, allocations: 0 / 302 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01968, allocations: 4 kB / 302 MB, free: 13.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.01969, allocations: 4 kB / 302 MB, free: 13.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0006829/0.02038, allocations: 0.8544 MB / 302.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.359e-05/0.0204, allocations: 12.03 kB / 302.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009359/0.02134, allocations: 412.4 kB / 303.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.02158, allocations: 256.5 kB / 303.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.0216, allocations: 33.36 kB / 303.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.02163, allocations: 40.3 kB / 303.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.02195, allocations: 424 kB / 304 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.02196, allocations: 4.125 kB / 304 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.02198, allocations: 16.36 kB / 304 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.02202, allocations: 36.58 kB / 304 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.02215, allocations: 140.3 kB / 304.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.02327, allocations: 2.147 MB / 306.3 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.02353, allocations: 273.6 kB / 306.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.677e-05/0.02361, allocations: 84.53 kB / 306.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.02362, allocations: 11.94 kB / 306.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.02365, allocations: 42.55 kB / 306.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.242e-06/0.02365, allocations: 0 / 306.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006496/0.0243, allocations: 388.7 kB / 307.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.02434, allocations: 110.8 kB / 307.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.02449, allocations: 274.8 kB / 307.5 MB, free: 7.324 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.0245, allocations: 41.89 kB / 307.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.02459, allocations: 232.7 kB / 307.7 MB, free: 7.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.02465, allocations: 122.9 kB / 307.9 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.02471, allocations: 74.16 kB / 307.9 MB, free: 6.848 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.0248, allocations: 354.7 kB / 308.3 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.02484, allocations: 32.98 kB / 308.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.02495, allocations: 192.1 kB / 308.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.02514, allocations: 295.8 kB / 308.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02515, allocations: 0 / 308.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005405/0.02569, allocations: 317.8 kB / 309.1 MB, free: 5.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.02571, allocations: 8 kB / 309.1 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.02572, allocations: 4 kB / 309.1 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.02593, allocations: 98.94 kB / 309.2 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.02614, allocations: 83.84 kB / 309.3 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.0274, allocations: 1.858 MB / 311.1 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.02755, allocations: 51.62 kB / 311.2 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.02756, allocations: 16 kB / 311.2 MB, free: 3.316 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.02768, allocations: 136.6 kB / 311.3 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.02772, allocations: 35.91 kB / 311.4 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.02776, allocations: 47.14 kB / 311.4 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.02776, allocations: 4 kB / 311.4 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.02777, allocations: 0 / 311.4 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.02778, allocations: 7.984 kB / 311.4 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.02829, allocations: 0.5702 MB / 312 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02829, allocations: 0 / 312 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.02839, allocations: 47.91 kB / 312 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.02843, allocations: 43.7 kB / 312.1 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.02856, allocations: 73.95 kB / 312.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.02858, allocations: 11.92 kB / 312.2 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.02966, allocations: 1.828 MB / 314 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.02966, allocations: 4 kB / 314 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.02997, allocations: 0.4997 MB / 314.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.02998, allocations: 7.938 kB / 314.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.03013, allocations: 8 kB / 314.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.03017, allocations: 27.89 kB / 314.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.03018, allocations: 12.03 kB / 314.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.21e-05/0.03026, allocations: 96.62 kB / 314.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03026, allocations: 0 / 314.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000382/0.03064, allocations: 163.8 kB / 314.8 MB, free: 15.51 MB / 314.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 (20): * Single equations (assignments): 18 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.635e-05/0.03072, allocations: 80.42 kB / 314.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.03112, allocations: 372.5 kB / 315.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/0.03113, allocations: 4 kB / 315.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.03137, allocations: 346 kB / 315.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.03172, allocations: 248.9 kB / 315.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007212/0.03893, allocations: 0.7405 MB / 316.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.03911, allocations: 161.7 kB / 316.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.099e-05/0.03918, allocations: 26.97 kB / 316.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.03926, allocations: 79.38 kB / 316.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.03926, allocations: 0 / 316.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of Templates: time 0.006027/0.04528, allocations: 3.963 MB / 320.8 MB, free: 9.426 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.887114390730858]