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.001067/0.001067, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001562/0.001562, allocations: 168.4 kB / 25.61 MB, free: 8.582 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.005/1.005, allocations: 177.1 MB / 206.1 MB, free: 4.445 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.1201/0.1201, allocations: 29.43 MB / 292 MB, free: 2.586 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.252e-06/1.252e-06, allocations: 0 / 370.9 MB, free: 32.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.256e-05, allocations: 2.312 kB / 370.9 MB, free: 32.27 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.004692/0.004715, allocations: 6.786 MB / 377.7 MB, free: 25.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.007529, allocations: 2.925 MB / 380.6 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004071/0.007936, allocations: 15.94 kB / 380.6 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.009029, allocations: 0.7158 MB / 381.3 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.01074, allocations: 1.1 MB / 382.4 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.01129, allocations: 314.9 kB / 382.7 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009274/0.01222, allocations: 1.378 MB / 384.1 MB, free: 19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.01268, allocations: 400 kB / 384.5 MB, free: 18.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007171/0.0134, allocations: 0.7007 MB / 385.2 MB, free: 17.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005946/0.01399, allocations: 0.6036 MB / 385.8 MB, free: 17.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.01404, allocations: 40 kB / 385.9 MB, free: 17.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.01509, allocations: 0.7746 MB / 386.6 MB, free: 16.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.01528, allocations: 307.2 kB / 386.9 MB, free: 16.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.0154, allocations: 179.6 kB / 387.1 MB, free: 16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007562/0.01616, allocations: 0.7242 MB / 387.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.01616, allocations: 0 / 387.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01616, allocations: 0 / 387.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.01617, allocations: 3.938 kB / 387.8 MB, free: 15.27 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.0006741/0.01685, allocations: 0.8506 MB / 388.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.01687, allocations: 12.03 kB / 388.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009201/0.0178, allocations: 315.1 kB / 389 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.01804, allocations: 271.3 kB / 389.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.01806, allocations: 33.3 kB / 389.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.01809, allocations: 36.36 kB / 389.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.01837, allocations: 466.3 kB / 389.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.01838, allocations: 4.188 kB / 389.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.0184, allocations: 20.34 kB / 389.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.01844, allocations: 44.56 kB / 389.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.01858, allocations: 152.1 kB / 390 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.01965, allocations: 3.088 MB / 393.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.01989, allocations: 265.3 kB / 393.4 MB, free: 9.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/0.01996, allocations: 85.27 kB / 393.4 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.01997, allocations: 11.98 kB / 393.5 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.01999, allocations: 49.33 kB / 393.5 MB, free: 9.266 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.392e-06/0.01999, allocations: 0 / 393.5 MB, free: 9.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007064/0.0207, allocations: 441.9 kB / 393.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.02072, allocations: 106.8 kB / 394 MB, free: 8.695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.02085, allocations: 345.9 kB / 394.4 MB, free: 8.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.02086, allocations: 33.7 kB / 394.4 MB, free: 8.301 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.02093, allocations: 306.9 kB / 394.7 MB, free: 7.992 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.02098, allocations: 126.9 kB / 394.8 MB, free: 7.867 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.02104, allocations: 91.77 kB / 394.9 MB, free: 7.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.02109, allocations: 0.5196 MB / 395.4 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.02114, allocations: 44.95 kB / 395.5 MB, free: 7.195 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.02123, allocations: 262.3 kB / 395.7 MB, free: 6.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.02139, allocations: 338.4 kB / 396.1 MB, free: 6.418 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.0214, allocations: 0 / 396.1 MB, free: 6.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003205/0.02172, allocations: 386.8 kB / 396.4 MB, free: 6.031 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.02173, allocations: 8 kB / 396.5 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/0.02174, allocations: 4 kB / 396.5 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.02191, allocations: 94.61 kB / 396.6 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.02203, allocations: 75.84 kB / 396.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009791/0.02301, allocations: 2.427 MB / 399.1 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.02312, allocations: 35.73 kB / 399.1 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.02313, allocations: 16 kB / 399.1 MB, free: 3.266 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 8.205e-05/0.02322, allocations: 184.4 kB / 399.3 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.02326, allocations: 55.64 kB / 399.3 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.0233, allocations: 47.14 kB / 399.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.0233, allocations: 4 kB / 399.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.02331, allocations: 0 / 399.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.02331, allocations: 7.984 kB / 399.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.02375, allocations: 0.6025 MB / 400 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02375, allocations: 0 / 400 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-05/0.02382, allocations: 35.98 kB / 400 MB, free: 2.277 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.02394, allocations: 82.38 kB / 400.1 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.02395, allocations: 8 kB / 400.1 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009091/0.02486, allocations: 2.415 MB / 402.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.02486, allocations: 0 / 402.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.0252, allocations: 0.5482 MB / 403.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.02523, allocations: 31.78 kB / 403.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.02526, allocations: 15.92 kB / 403.1 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.02535, allocations: 8 kB / 403.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.02539, allocations: 23.95 kB / 403.2 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.0254, allocations: 8 kB / 403.2 MB, free: 14.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.773e-05/0.02548, allocations: 210.9 kB / 403.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02548, allocations: 3.938 kB / 403.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004148/0.0259, allocations: 163.8 kB / 403.5 MB, free: 14.62 MB / 330.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.948e-05/0.02599, allocations: 99.25 kB / 403.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.02639, allocations: 439 kB / 404.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0264, allocations: 0 / 404.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.02661, allocations: 331 kB / 404.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.02694, allocations: 49.08 kB / 404.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.02799, allocations: 0.7239 MB / 405.2 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.702e-05/0.02808, allocations: 157.5 kB / 405.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.783e-05/0.02815, allocations: 30.95 kB / 405.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.02823, allocations: 102.2 kB / 405.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02823, allocations: 0 / 405.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of Templates: time 0.005692/0.03392, allocations: 3.952 MB / 409.4 MB, free: 8.691 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 -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.174828505143523]