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.001835/0.001835, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002076/0.002076, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.492/1.492, allocations: 230.6 MB / 258.2 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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.1835/0.1835, allocations: 38.55 MB / 353.2 MB, free: 12.29 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 75.89 kB / 493.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3, allocations: 62.45 MB / 0.5432 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008829/0.3089, allocations: 7.027 MB / 0.55 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006439/0.3153, allocations: 4.111 MB / 0.554 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004543/0.3158, allocations: 16.22 kB / 0.5541 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002737/0.3185, allocations: 1.022 MB / 0.5551 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.3217, allocations: 1.215 MB / 0.5562 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009422/0.3226, allocations: 323.5 kB / 0.5565 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.3244, allocations: 1.399 MB / 0.5579 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009116/0.3253, allocations: 0.509 MB / 0.5584 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.3265, allocations: 0.6459 MB / 0.559 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.3275, allocations: 0.7047 MB / 0.5597 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.3276, allocations: 64 kB / 0.5598 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.33, allocations: 1.126 MB / 0.5609 GB, free: 2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005474/0.3305, allocations: 490.7 kB / 0.5614 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.331, allocations: 370.4 kB / 0.5617 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.3333, allocations: 1.468 MB / 0.5631 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3333, allocations: 4 kB / 0.5631 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3333, allocations: 0 / 0.5631 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.3334, allocations: 0 / 0.5631 GB, free: 15.68 MB / 414.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.00181/0.3352, allocations: 1.074 MB / 0.5642 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3352, allocations: 15.98 kB / 0.5642 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/0.3383, allocations: 387.9 kB / 0.5646 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009991/0.3393, allocations: 437.7 kB / 0.565 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.3393, allocations: 62.36 kB / 0.5651 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.3395, allocations: 68.36 kB / 0.5651 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.3414, allocations: 1.172 MB / 0.5663 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.3414, allocations: 7.938 kB / 0.5663 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.3415, allocations: 27.98 kB / 0.5663 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.3416, allocations: 73.95 kB / 0.5664 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.3435, allocations: 1.233 MB / 0.5676 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00569/0.3492, allocations: 3.116 MB / 0.5706 GB, free: 7.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.351, allocations: 0.9796 MB / 0.5716 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008986/0.3519, allocations: 0.594 MB / 0.5722 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-05/0.3519, allocations: 16.97 kB / 0.5722 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.352, allocations: 47.56 kB / 0.5722 GB, free: 6.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.126e-06/0.352, allocations: 7.938 kB / 0.5722 GB, free: 6.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006734/0.3587, allocations: 3.012 MB / 0.5752 GB, free: 3.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.3588, allocations: 94.09 kB / 0.5753 GB, free: 3.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.3592, allocations: 353.6 kB / 0.5756 GB, free: 2.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.3593, allocations: 41.7 kB / 0.5756 GB, free: 2.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.3595, allocations: 312.9 kB / 0.5759 GB, free: 2.348 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.3598, allocations: 337.1 kB / 0.5763 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.36, allocations: 158.6 kB / 0.5764 GB, free: 1.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.3602, allocations: 358.8 kB / 0.5767 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007384/0.361, allocations: 477.8 kB / 0.5772 GB, free: 1.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008247/0.3618, allocations: 0.5695 MB / 0.5778 GB, free: 440 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.3635, allocations: 1.109 MB / 0.5788 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3635, allocations: 8 kB / 0.5789 GB, free: 15.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002589/0.3661, allocations: 1.462 MB / 0.5803 GB, free: 13.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3661, allocations: 4 kB / 0.5803 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3661, allocations: 4 kB / 0.5803 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009299/0.367, allocations: 341.7 kB / 0.5806 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007022/0.3677, allocations: 179.7 kB / 0.5808 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00559/0.3733, allocations: 3.87 MB / 0.5846 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.3738, allocations: 47.95 kB / 0.5846 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.797e-05/0.3739, allocations: 43.92 kB / 0.5846 GB, free: 9.234 MB / 430.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.0004256/0.3743, allocations: 293.6 kB / 0.5849 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3745, allocations: 63.62 kB / 0.585 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.3772, allocations: 1.551 MB / 0.5865 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.3773, allocations: 8 kB / 0.5865 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3773, allocations: 11.94 kB / 0.5865 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.3773, allocations: 7.984 kB / 0.5865 GB, free: 7.281 MB / 430.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.005019/0.3823, allocations: 2.669 MB / 0.5891 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3823, allocations: 4 kB / 0.5891 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.3829, allocations: 167.8 kB / 0.5893 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007981/0.3837, allocations: 284.6 kB / 0.5896 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.3838, allocations: 27.98 kB / 0.5896 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005161/0.389, allocations: 3.671 MB / 0.5932 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.389, allocations: 7.938 kB / 0.5932 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.3916, allocations: 1.579 MB / 0.5947 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.3917, allocations: 75.55 kB / 0.5948 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.99e-05/0.3918, allocations: 23.98 kB / 0.5948 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.3923, allocations: 35.97 kB / 0.5949 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.3924, allocations: 92.72 kB / 0.595 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-05/0.3925, allocations: 35.98 kB / 0.595 GB, free: 14.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.3928, allocations: 251.2 kB / 0.5952 GB, free: 14.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3928, allocations: 3.938 kB / 0.5952 GB, free: 14.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009295/0.3937, allocations: 300 kB / 0.5955 GB, free: 13.83 MB / 446.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.0001728/0.3939, allocations: 131.1 kB / 0.5956 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0022/0.3961, allocations: 1.338 MB / 0.5969 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3961, allocations: 4.188 kB / 0.597 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.3973, allocations: 0.7929 MB / 0.5977 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/0.398, allocations: 106.3 kB / 0.5978 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.4011, allocations: 1.9 MB / 0.5997 GB, free: 9.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.4017, allocations: 476.8 kB / 0.6001 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.4019, allocations: 71.39 kB / 0.6002 GB, free: 8.883 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4019, allocations: 3.938 kB / 0.6002 GB, free: 8.879 MB / 446.1 MB Notification: Performance of Templates: time 0.01931/0.4212, allocations: 12.78 MB / 0.6127 GB, free: 12.08 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins1/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: 8.727186270989478]