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.001263/0.001263, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009467/0.0009467, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2545/0.2545, allocations: 29.42 MB / 291.2 MB, free: 2.48 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.373e-06/1.373e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.305e-05, allocations: 3.156 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005826/0.005849, allocations: 6.854 MB / 323.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003635/0.009484, allocations: 2.983 MB / 326.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004375/0.009921, allocations: 15.94 kB / 326.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.01095, allocations: 0.7001 MB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.01275, allocations: 1.1 MB / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.01334, allocations: 299 kB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.0144, allocations: 1.367 MB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.01482, allocations: 412.6 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.01548, allocations: 0.7085 MB / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005342/0.01601, allocations: 0.549 MB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.01605, allocations: 36 kB / 331.9 MB, free: 0.875 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.0171, allocations: 0.7668 MB / 332.7 MB, free: 108 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.01732, allocations: 307.2 kB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.01747, allocations: 179.6 kB / 333.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007038/0.01817, allocations: 0.7203 MB / 333.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01817, allocations: 0 / 333.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01818, allocations: 4 kB / 333.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.01818, allocations: 0 / 333.9 MB, free: 14.9 MB / 314.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.0006797/0.01886, allocations: 0.7138 MB / 334.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.0189, allocations: 15.98 kB / 334.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.02, allocations: 331.3 kB / 334.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.02029, allocations: 260.5 kB / 335.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.02031, allocations: 29.36 kB / 335.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.02034, allocations: 40.36 kB / 335.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.02069, allocations: 420 kB / 335.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.0207, allocations: 192 / 335.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.02073, allocations: 16.38 kB / 335.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.603e-05/0.02077, allocations: 36.56 kB / 335.7 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.02092, allocations: 144.2 kB / 335.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.0222, allocations: 2.159 MB / 338 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.02249, allocations: 268.9 kB / 338.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.02257, allocations: 82.28 kB / 338.4 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.02259, allocations: 15.94 kB / 338.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.02262, allocations: 34.56 kB / 338.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.02262, allocations: 0 / 338.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007662/0.02338, allocations: 389.5 kB / 338.8 MB, free: 9.719 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.02343, allocations: 110.8 kB / 338.9 MB, free: 9.586 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.02358, allocations: 282.7 kB / 339.2 MB, free: 9.297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.02359, allocations: 33.7 kB / 339.2 MB, free: 9.258 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.02368, allocations: 228.7 kB / 339.4 MB, free: 9.031 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.02374, allocations: 122.9 kB / 339.5 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.02381, allocations: 86.09 kB / 339.6 MB, free: 8.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.809e-05/0.02389, allocations: 346.7 kB / 340 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.02394, allocations: 36.97 kB / 340 MB, free: 8.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.02405, allocations: 184.1 kB / 340.2 MB, free: 8.184 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.02433, allocations: 290.9 kB / 340.5 MB, free: 7.832 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02433, allocations: 0 / 340.5 MB, free: 7.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003155/0.02465, allocations: 323 kB / 340.8 MB, free: 7.508 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.02466, allocations: 11.94 kB / 340.8 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.02467, allocations: 12.02 kB / 340.8 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.02487, allocations: 82.27 kB / 340.9 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.02504, allocations: 83.89 kB / 341 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.02624, allocations: 1.848 MB / 342.8 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.02636, allocations: 43.67 kB / 342.9 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.02637, allocations: 20.03 kB / 342.9 MB, free: 5.316 MB / 314.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.0001007/0.02647, allocations: 140.6 kB / 343 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.02652, allocations: 31.92 kB / 343 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.02656, allocations: 47.08 kB / 343.1 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.02656, allocations: 7.984 kB / 343.1 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.02657, allocations: 4 kB / 343.1 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.02658, allocations: 0 / 343.1 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.02709, allocations: 0.574 MB / 343.7 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.0271, allocations: 4 kB / 343.7 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.0272, allocations: 43.92 kB / 343.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.02748, allocations: 84.92 kB / 343.8 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.0275, allocations: 4 kB / 343.8 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.02863, allocations: 1.84 MB / 345.7 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.02863, allocations: 4 kB / 345.7 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.02896, allocations: 0.4947 MB / 346.1 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.02899, allocations: 39.64 kB / 346.2 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.02901, allocations: 7.938 kB / 346.2 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.0291, allocations: 12.03 kB / 346.2 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.02913, allocations: 31.88 kB / 346.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.02915, allocations: 8 kB / 346.2 MB, free: 1.766 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.671e-05/0.02921, allocations: 96.62 kB / 346.3 MB, free: 1.668 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02921, allocations: 0 / 346.3 MB, free: 1.668 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004078/0.02962, allocations: 155.8 kB / 346.5 MB, free: 1.516 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 9.311e-05/0.02971, allocations: 80.42 kB / 346.6 MB, free: 1.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.03012, allocations: 372 kB / 346.9 MB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.03012, allocations: 4 kB / 346.9 MB, free: 1.047 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.03032, allocations: 264.5 kB / 347.2 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.0306, allocations: 52.89 kB / 347.2 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.03167, allocations: 0.7363 MB / 348 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.03178, allocations: 165.5 kB / 348.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.74e-05/0.03186, allocations: 26.97 kB / 348.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.158e-05/0.03195, allocations: 83.36 kB / 348.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.03195, allocations: 4 kB / 348.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of Templates: time 0.006237/0.03819, allocations: 3.959 MB / 352.2 MB, free: 11.73 MB / 330.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 -s gbode -gbm=radauIIA3 -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: 2.954514609184116]