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.001147/0.001147, allocations: 78.66 kB / 21.42 MB, free: 3.082 MB / 18.57 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.001268/0.001268, allocations: 172.9 kB / 24.82 MB, free: 8.945 MB / 18.57 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.037/1.037, allocations: 177.2 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2532/0.2532, allocations: 29.43 MB / 291.2 MB, free: 2.398 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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="Time|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="Time|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.603e-06/1.603e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.822e-05, allocations: 2.312 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.008108/0.008136, allocations: 6.771 MB / 376.9 MB, free: 3.891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.01146, allocations: 2.929 MB / 379.8 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.0118, allocations: 19.88 kB / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.01282, allocations: 0.7119 MB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.01459, allocations: 1.096 MB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.01523, allocations: 318.9 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.01655, allocations: 1.363 MB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006132/0.01716, allocations: 396 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009523/0.01812, allocations: 0.7163 MB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.01894, allocations: 0.5997 MB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.019, allocations: 36 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.02033, allocations: 0.7785 MB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.02059, allocations: 311.2 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.02074, allocations: 179.6 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.02178, allocations: 0.7204 MB / 387.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.02179, allocations: 0 / 387.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.02179, allocations: 0 / 387.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.0218, allocations: 0 / 387.1 MB, free: 9.707 MB / 362.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.0009131/0.02271, allocations: 0.8545 MB / 387.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.02275, allocations: 19.92 kB / 387.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.02379, allocations: 319 kB / 388.2 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.0241, allocations: 263.3 kB / 388.5 MB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.02413, allocations: 33.36 kB / 388.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.02416, allocations: 48.36 kB / 388.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.02456, allocations: 460.4 kB / 389 MB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.02458, allocations: 4.125 kB / 389 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.0246, allocations: 20.36 kB / 389 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-05/0.02466, allocations: 40.56 kB / 389.1 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.02484, allocations: 148.2 kB / 389.2 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.02665, allocations: 3.096 MB / 392.3 MB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.027, allocations: 261.1 kB / 392.6 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.0271, allocations: 95.08 kB / 392.7 MB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.02712, allocations: 11.98 kB / 392.7 MB, free: 3.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.02715, allocations: 41.39 kB / 392.7 MB, free: 3.691 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 3.286e-06/0.02715, allocations: 0 / 392.7 MB, free: 3.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009032/0.02806, allocations: 437.2 kB / 393.2 MB, free: 3.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.0281, allocations: 110.8 kB / 393.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.02828, allocations: 346.1 kB / 393.6 MB, free: 2.766 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.0283, allocations: 33.7 kB / 393.6 MB, free: 2.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.02843, allocations: 306.9 kB / 393.9 MB, free: 2.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.0285, allocations: 126.9 kB / 394.1 MB, free: 2.297 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.02858, allocations: 96 kB / 394.2 MB, free: 2.195 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.02871, allocations: 0.5235 MB / 394.7 MB, free: 1.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.02876, allocations: 40.95 kB / 394.7 MB, free: 1.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.0289, allocations: 262.2 kB / 395 MB, free: 1.266 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.02912, allocations: 334.4 kB / 395.3 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.02912, allocations: 4 kB / 395.3 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003668/0.02949, allocations: 394.7 kB / 395.7 MB, free: 460 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.0295, allocations: 4 kB / 395.7 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.02951, allocations: 8 kB / 395.7 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.02971, allocations: 83.73 kB / 395.8 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.02985, allocations: 71.91 kB / 395.9 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.03144, allocations: 2.438 MB / 398.3 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.03157, allocations: 39.67 kB / 398.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.03158, allocations: 16 kB / 398.3 MB, free: 13.68 MB / 378.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.00011/0.03169, allocations: 184.4 kB / 398.5 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.03175, allocations: 51.7 kB / 398.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.03178, allocations: 43.14 kB / 398.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.03179, allocations: 4 kB / 398.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.03179, allocations: 8.031 kB / 398.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.0318, allocations: 3.984 kB / 398.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.03238, allocations: 0.5864 MB / 399.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.03238, allocations: 4 kB / 399.2 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.03245, allocations: 35.92 kB / 399.3 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/0.0326, allocations: 87.8 kB / 399.3 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.03261, allocations: 4 kB / 399.3 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.03387, allocations: 2.411 MB / 401.8 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.03387, allocations: 3.938 kB / 401.8 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.03423, allocations: 0.5639 MB / 402.3 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.03427, allocations: 39.69 kB / 402.4 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.03429, allocations: 11.92 kB / 402.4 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.03437, allocations: 8 kB / 402.4 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.03441, allocations: 23.95 kB / 402.4 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.03442, allocations: 12 kB / 402.4 MB, free: 9.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.722e-05/0.03452, allocations: 206.9 kB / 402.6 MB, free: 9.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-08/0.03452, allocations: 3.938 kB / 402.6 MB, free: 9.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.03496, allocations: 159.8 kB / 402.8 MB, free: 9.035 MB / 378.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 0.0001093/0.03507, allocations: 115.1 kB / 402.9 MB, free: 8.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.0355, allocations: 419.1 kB / 403.3 MB, free: 8.484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.03551, allocations: 4.125 kB / 403.3 MB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.03587, allocations: 332.9 kB / 403.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.03622, allocations: 45.08 kB / 403.7 MB, free: 8.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.03732, allocations: 0.7171 MB / 404.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.03742, allocations: 165.5 kB / 404.6 MB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.03752, allocations: 26.97 kB / 404.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.0376, allocations: 102.2 kB / 404.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0376, allocations: 0 / 404.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of Templates: time 0.006071/0.04367, allocations: 3.866 MB / 408.5 MB, free: 3.176 MB / 378.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4546948028728366]