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.00123/0.00123, 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.00154/0.00154, allocations: 161 kB / 24.55 MB, free: 16 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 0.9538/0.9538, allocations: 177.1 MB / 205 MB, free: 5.285 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.2449/0.2449, allocations: 29.42 MB / 290.9 MB, free: 2.375 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,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") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.882e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.005865/0.005884, allocations: 6.732 MB / 376.4 MB, free: 4.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.00946, allocations: 3.197 MB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/0.009746, allocations: 19.94 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009966/0.01074, allocations: 0.7119 MB / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.01271, allocations: 1.213 MB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.01327, allocations: 322.8 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.0144, allocations: 1.398 MB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006234/0.01503, allocations: 0.5128 MB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008039/0.01583, allocations: 0.7944 MB / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006218/0.01645, allocations: 0.6895 MB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.112e-05/0.01653, allocations: 64 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.01781, allocations: 1.118 MB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.01813, allocations: 0.5183 MB / 386.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.01838, allocations: 319.2 kB / 387.2 MB, free: 9.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.01956, allocations: 1.277 MB / 388.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01956, allocations: 0 / 388.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01956, allocations: 4 kB / 388.5 MB, free: 8.035 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.01957, allocations: 0 / 388.5 MB, free: 8.035 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00123/0.0208, allocations: 1.178 MB / 389.7 MB, free: 6.816 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.02084, allocations: 15.98 kB / 389.7 MB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.02255, allocations: 0.5425 MB / 390.2 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.02305, allocations: 427.8 kB / 390.7 MB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.02309, allocations: 54.36 kB / 390.7 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-05/0.02318, allocations: 72.34 kB / 390.8 MB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008183/0.024, allocations: 0.7008 MB / 391.5 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.02402, allocations: 192 / 391.5 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.02407, allocations: 28.38 kB / 391.5 MB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.079e-05/0.02414, allocations: 77.89 kB / 391.6 MB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.02485, allocations: 495.4 kB / 392.1 MB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002996/0.02785, allocations: 2.696 MB / 394.8 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008376/0.02869, allocations: 0.5942 MB / 395.4 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.02903, allocations: 282.3 kB / 395.6 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.02908, allocations: 21 kB / 395.7 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.02911, allocations: 50.38 kB / 395.7 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 2.194e-06/0.02911, allocations: 4 kB / 395.7 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of matching and sorting (n=92): time 0.003335/0.03245, allocations: 1.869 MB / 397.6 MB, free: 14.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.0325, allocations: 94.05 kB / 397.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.03275, allocations: 382.7 kB / 398 MB, free: 14.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.03279, allocations: 37.7 kB / 398.1 MB, free: 14.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.03294, allocations: 371.7 kB / 398.4 MB, free: 13.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.03312, allocations: 337.1 kB / 398.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.03329, allocations: 156.3 kB / 398.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.03346, allocations: 0.5508 MB / 399.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.03373, allocations: 177.9 kB / 399.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.03405, allocations: 327.7 kB / 400 MB, free: 12.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/0.03469, allocations: 0.5475 MB / 400.5 MB, free: 11.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.03469, allocations: 4 kB / 400.5 MB, free: 11.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001123/0.03581, allocations: 0.8672 MB / 401.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.03583, allocations: 8 kB / 401.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.03584, allocations: 0 / 401.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005734/0.03641, allocations: 248.6 kB / 401.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.03681, allocations: 183.7 kB / 401.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.03974, allocations: 3.223 MB / 405 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.03997, allocations: 43.95 kB / 405.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.04002, allocations: 43.92 kB / 405.1 MB, free: 6.887 MB / 378.7 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.0001815/0.0402, allocations: 204.3 kB / 405.3 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.63e-05/0.0403, allocations: 83.67 kB / 405.4 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.04151, allocations: 0.9137 MB / 406.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.04151, allocations: 8 kB / 406.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.04152, allocations: 11.94 kB / 406.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.04153, allocations: 7.922 kB / 406.3 MB, free: 5.645 MB / 378.7 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.002331/0.04386, allocations: 1.902 MB / 408.3 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.04386, allocations: 448 / 408.3 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.04419, allocations: 167.8 kB / 408.4 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/0.04463, allocations: 207.5 kB / 408.6 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/0.04467, allocations: 31.92 kB / 408.6 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.04707, allocations: 3.114 MB / 411.8 MB, free: 0 / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.808e-05/0.04709, allocations: 8.047 kB / 411.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.04826, allocations: 1.128 MB / 412.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.04832, allocations: 67.61 kB / 413 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.04837, allocations: 20 kB / 413 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.0486, allocations: 39.95 kB / 413 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.0487, allocations: 88.64 kB / 413.1 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.04874, allocations: 43.98 kB / 413.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.04889, allocations: 247.1 kB / 413.4 MB, free: 14.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04889, allocations: 0 / 413.4 MB, free: 14.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000603/0.04949, allocations: 308 kB / 413.7 MB, free: 13.98 MB / 394.7 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.0001423/0.04963, allocations: 123 kB / 413.8 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.0507, allocations: 0.8974 MB / 414.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.0507, allocations: 0 / 414.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005971/0.0513, allocations: 0.6414 MB / 415.4 MB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.05174, allocations: 90.14 kB / 415.4 MB, free: 12.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.05379, allocations: 1.461 MB / 416.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.05422, allocations: 267.9 kB / 417.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.05445, allocations: 144.6 kB / 417.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.0546, allocations: 72.3 kB / 417.4 MB, free: 10.13 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0546, allocations: 0 / 417.4 MB, free: 10.13 MB / 394.7 MB Notification: Performance of Templates: time 0.01202/0.06662, allocations: 10.47 MB / 427.8 MB, free: 15.75 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.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.305823184084147]