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.0009789/0.0009789, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009515/0.0009515, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.59 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.2322/0.2322, allocations: 29.42 MB / 290.9 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.814e-06/1.814e-06, allocations: 0 / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.402e-05, allocations: 5.406 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007325/0.007349, allocations: 6.853 MB / 376.5 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003914/0.01126, allocations: 2.948 MB / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.01152, allocations: 15.94 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.01284, allocations: 0.712 MB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.01453, allocations: 1.104 MB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.01512, allocations: 318.9 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.01627, allocations: 1.367 MB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/0.01686, allocations: 400 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007753/0.01764, allocations: 0.6969 MB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006825/0.01832, allocations: 0.6114 MB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.01837, allocations: 36 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000961/0.01934, allocations: 0.7785 MB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.01962, allocations: 311.2 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.01981, allocations: 179.6 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008636/0.02068, allocations: 0.7242 MB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.02068, allocations: 0 / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.02068, allocations: 0 / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.02069, allocations: 0 / 386.7 MB, free: 9.863 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.0009489/0.02164, allocations: 0.839 MB / 387.5 MB, free: 8.984 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.02168, allocations: 19.92 kB / 387.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.02297, allocations: 323 kB / 387.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.02335, allocations: 283.3 kB / 388.1 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.02338, allocations: 29.36 kB / 388.2 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.02342, allocations: 40.38 kB / 388.2 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.02398, allocations: 481.9 kB / 388.7 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.024, allocations: 4.188 kB / 388.7 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.02403, allocations: 16.36 kB / 388.7 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.02409, allocations: 40.56 kB / 388.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.0244, allocations: 179.5 kB / 388.9 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.02641, allocations: 3.177 MB / 392.1 MB, free: 4.172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.02684, allocations: 277.9 kB / 392.4 MB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.02701, allocations: 110.3 kB / 392.5 MB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.02703, allocations: 8 kB / 392.5 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.02705, allocations: 33.39 kB / 392.5 MB, free: 3.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.844e-06/0.02706, allocations: 4 kB / 392.5 MB, free: 3.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001142/0.0282, allocations: 473.3 kB / 393 MB, free: 3.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.02826, allocations: 114.8 kB / 393.1 MB, free: 3.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.02852, allocations: 338.3 kB / 393.4 MB, free: 2.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.02854, allocations: 29.7 kB / 393.4 MB, free: 2.699 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.0287, allocations: 315 kB / 393.7 MB, free: 2.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.959e-05/0.02879, allocations: 127 kB / 393.9 MB, free: 2.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.02889, allocations: 83.81 kB / 394 MB, free: 2.172 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.02905, allocations: 0.5235 MB / 394.5 MB, free: 1.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.02915, allocations: 48.97 kB / 394.5 MB, free: 1.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.02938, allocations: 270.3 kB / 394.8 MB, free: 1.227 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.02975, allocations: 370.4 kB / 395.1 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02975, allocations: 0 / 395.1 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005854/0.03034, allocations: 426.7 kB / 395.6 MB, free: 356 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.03036, allocations: 4 kB / 395.6 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.03037, allocations: 8 kB / 395.6 MB, free: 344 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.03067, allocations: 90.7 kB / 395.7 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.03087, allocations: 75.84 kB / 395.7 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.03274, allocations: 2.481 MB / 398.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.0329, allocations: 51.7 kB / 398.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.03292, allocations: 20 kB / 398.3 MB, free: 13.5 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.0001305/0.03305, allocations: 184.4 kB / 398.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.03313, allocations: 47.77 kB / 398.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.03318, allocations: 43.14 kB / 398.6 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.03318, allocations: 4 kB / 398.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.03319, allocations: 4 kB / 398.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.03319, allocations: 3.984 kB / 398.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008236/0.03402, allocations: 0.6717 MB / 399.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.03402, allocations: 0 / 399.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.03413, allocations: 35.92 kB / 399.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/0.03433, allocations: 95.19 kB / 399.4 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.03435, allocations: 7.938 kB / 399.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.03612, allocations: 2.47 MB / 401.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.03612, allocations: 0 / 401.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/0.03664, allocations: 0.5795 MB / 402.4 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.03669, allocations: 39.7 kB / 402.5 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.03672, allocations: 8.031 kB / 402.5 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.03686, allocations: 8 kB / 402.5 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.03691, allocations: 31.88 kB / 402.5 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.03692, allocations: 8 kB / 402.5 MB, free: 9.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.03708, allocations: 219 kB / 402.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03708, allocations: 0 / 402.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005789/0.03766, allocations: 159.8 kB / 402.9 MB, free: 8.672 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.0001248/0.03778, allocations: 107.2 kB / 403 MB, free: 8.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006175/0.0384, allocations: 453.8 kB / 403.4 MB, free: 8.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.0384, allocations: 5.312 kB / 403.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.03871, allocations: 325.1 kB / 403.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.03917, allocations: 52.44 kB / 403.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.04057, allocations: 0.7363 MB / 404.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.0407, allocations: 161.5 kB / 404.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.04084, allocations: 58.91 kB / 404.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.04089, allocations: 20.5 kB / 404.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.04089, allocations: 0 / 404.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of Templates: time 0.005884/0.04678, allocations: 3.667 MB / 408.5 MB, free: 3.023 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.197416618000716]