Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.001499/0.001499, allocations: 85.44 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00163/0.00163, allocations: 163.6 kB / 23.96 MB, free: 4.164 MB / 14.72 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.377/1.377, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.1 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.1715/0.1715, allocations: 29.42 MB / 290.1 MB, free: 3.32 MB / 270.1 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 430.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.707e-05, allocations: 5.516 kB / 430.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008325/0.008352, allocations: 6.939 MB / 437.7 MB, free: 11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006508/0.01486, allocations: 4.085 MB / 441.7 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004484/0.01531, allocations: 15.94 kB / 441.8 MB, free: 6.879 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.01814, allocations: 1.022 MB / 442.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.02079, allocations: 1.232 MB / 444 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.02162, allocations: 334.7 kB / 444.3 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.02337, allocations: 1.425 MB / 445.8 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000875/0.02425, allocations: 0.5089 MB / 446.3 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.02564, allocations: 0.8138 MB / 447.1 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.02674, allocations: 0.6894 MB / 447.8 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.02688, allocations: 64 kB / 447.8 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1765/0.2034, allocations: 1.135 MB / 449 MB, free: 16.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006227/0.204, allocations: 0.5119 MB / 449.5 MB, free: 16.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.2045, allocations: 312.5 kB / 449.8 MB, free: 16.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.2066, allocations: 1.532 MB / 451.3 MB, free: 16.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2066, allocations: 3.688 kB / 451.3 MB, free: 16.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2066, allocations: 0 / 451.3 MB, free: 16.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.2066, allocations: 0 / 451.3 MB, free: 16.7 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00145/0.208, allocations: 1.067 MB / 452.4 MB, free: 16.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2081, allocations: 13.36 kB / 452.4 MB, free: 16.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.2111, allocations: 391 kB / 452.8 MB, free: 16.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.2118, allocations: 434.2 kB / 453.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.2119, allocations: 54.69 kB / 453.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.212, allocations: 71.66 kB / 453.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.2138, allocations: 1.172 MB / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.2138, allocations: 9.516 kB / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/0.2139, allocations: 28.59 kB / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.501e-05/0.214, allocations: 78.47 kB / 454.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.2158, allocations: 1.23 MB / 455.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004716/0.2205, allocations: 3.104 MB / 459 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.2221, allocations: 0.9933 MB / 459.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000755/0.2228, allocations: 0.5879 MB / 460.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.452e-05/0.2229, allocations: 19.41 kB / 460.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2229, allocations: 40.89 kB / 460.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.484e-06/0.2229, allocations: 0 / 460.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006172/0.2291, allocations: 3.007 MB / 463.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.2291, allocations: 91.84 kB / 463.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.2294, allocations: 363.6 kB / 464 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.2295, allocations: 40.2 kB / 464.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.2296, allocations: 320.4 kB / 464.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.2298, allocations: 322.6 kB / 464.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.2301, allocations: 163.5 kB / 464.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.2301, allocations: 368.3 kB / 465.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.2307, allocations: 466.9 kB / 465.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/0.2314, allocations: 0.5708 MB / 466.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.2328, allocations: 1.115 MB / 467.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2328, allocations: 0 / 467.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0022/0.235, allocations: 1.464 MB / 468.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.235, allocations: 9.344 kB / 468.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.235, allocations: 2.125 kB / 468.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008991/0.2359, allocations: 338.6 kB / 469.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/0.2366, allocations: 177.5 kB / 469.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004214/0.2408, allocations: 3.876 MB / 473.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.2413, allocations: 49.17 kB / 473.3 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/0.2414, allocations: 31.17 kB / 473.3 MB, free: 8.383 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003441/0.2417, allocations: 303.3 kB / 473.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2418, allocations: 59.19 kB / 473.7 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.244, allocations: 1.552 MB / 475.2 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.244, allocations: 11.3 kB / 475.2 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.244, allocations: 12.66 kB / 475.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.244, allocations: 8.312 kB / 475.2 MB, free: 7.566 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/0.2478, allocations: 2.664 MB / 477.9 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.2478, allocations: 4.781 kB / 477.9 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.2483, allocations: 170.3 kB / 478.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006897/0.249, allocations: 280.6 kB / 478.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.2491, allocations: 38.52 kB / 478.4 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003638/0.2527, allocations: 3.661 MB / 482 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.2527, allocations: 7.469 kB / 482.1 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.2546, allocations: 1.584 MB / 483.6 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.2547, allocations: 67.55 kB / 483.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.001e-05/0.2548, allocations: 27.98 kB / 483.7 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.2552, allocations: 39.97 kB / 483.8 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.2553, allocations: 92 kB / 483.9 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.2554, allocations: 35.98 kB / 483.9 MB, free: 1.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.2556, allocations: 247.2 kB / 484.1 MB, free: 1.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2556, allocations: 0 / 484.1 MB, free: 1.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008469/0.2564, allocations: 308 kB / 484.4 MB, free: 1.145 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001368/0.2566, allocations: 125.6 kB / 484.6 MB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.2583, allocations: 1.35 MB / 485.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2583, allocations: 0 / 485.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.2595, allocations: 0.7891 MB / 486.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006513/0.2601, allocations: 107.1 kB / 486.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.263, allocations: 1.789 MB / 488.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.2635, allocations: 476.8 kB / 489.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000404/0.2639, allocations: 186.3 kB / 489.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.2641, allocations: 64.47 kB / 489.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2641, allocations: 0 / 489.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of Templates: time 0.01833/0.2825, allocations: 10.31 MB / 499.6 MB, free: 2.035 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.801368407905102]