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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1835/0.1835, allocations: 38.53 MB / 344.5 MB, free: 2.582 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001975/0.001975, allocations: 63.89 kB / 482.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 61.24 MB / 0.5306 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006808/0.3259, allocations: 7.568 MB / 0.538 GB, free: 60 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006445/0.3323, allocations: 4.451 MB / 0.5423 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004171/0.3327, allocations: 17.38 kB / 0.5423 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.3354, allocations: 1.065 MB / 0.5434 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.3382, allocations: 1.206 MB / 0.5445 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008945/0.3391, allocations: 322.4 kB / 0.5448 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.3408, allocations: 1.406 MB / 0.5462 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007876/0.3416, allocations: 462 kB / 0.5467 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009152/0.3425, allocations: 0.6135 MB / 0.5473 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000999/0.3435, allocations: 0.7468 MB / 0.548 GB, free: 8.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.852e-05/0.3436, allocations: 67.62 kB / 0.548 GB, free: 8.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.3462, allocations: 1.372 MB / 0.5494 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005151/0.3467, allocations: 493.2 kB / 0.5499 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.3472, allocations: 442 kB / 0.5503 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.3492, allocations: 1.466 MB / 0.5517 GB, free: 6.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3493, allocations: 0 / 0.5517 GB, free: 6.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3493, allocations: 1.219 kB / 0.5517 GB, free: 6.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.3493, allocations: 0 / 0.5517 GB, free: 6.434 MB / 398.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.001811/0.3511, allocations: 1.153 MB / 0.5528 GB, free: 5.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3511, allocations: 17.73 kB / 0.5529 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/0.3542, allocations: 396.2 kB / 0.5532 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007864/0.355, allocations: 490.6 kB / 0.5537 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/0.355, allocations: 54.36 kB / 0.5538 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.3551, allocations: 76.3 kB / 0.5538 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.357, allocations: 1.172 MB / 0.555 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.357, allocations: 3.938 kB / 0.555 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.3571, allocations: 35.98 kB / 0.555 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.3572, allocations: 69.95 kB / 0.5551 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.3591, allocations: 1.237 MB / 0.5563 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005502/0.3646, allocations: 3.5 MB / 0.5597 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.3663, allocations: 0.9873 MB / 0.5607 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008898/0.3672, allocations: 0.5901 MB / 0.5612 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-05/0.3673, allocations: 20.97 kB / 0.5613 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.3674, allocations: 39.56 kB / 0.5613 GB, free: 12.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.875e-06/0.3674, allocations: 0 / 0.5613 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006975/0.3743, allocations: 3.104 MB / 0.5643 GB, free: 9.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.3744, allocations: 86.11 kB / 0.5644 GB, free: 9.648 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.3748, allocations: 361.6 kB / 0.5648 GB, free: 9.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.3749, allocations: 41.7 kB / 0.5648 GB, free: 9.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.3751, allocations: 320.9 kB / 0.5651 GB, free: 8.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000303/0.3754, allocations: 325.2 kB / 0.5654 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.3757, allocations: 162.6 kB / 0.5656 GB, free: 8.438 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3759, allocations: 374.8 kB / 0.5659 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007071/0.3766, allocations: 465.7 kB / 0.5664 GB, free: 7.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008324/0.3774, allocations: 0.5695 MB / 0.5669 GB, free: 7.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.3791, allocations: 1.113 MB / 0.568 GB, free: 5.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3791, allocations: 3.984 kB / 0.568 GB, free: 5.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002627/0.3817, allocations: 1.47 MB / 0.5695 GB, free: 4.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.3817, allocations: 7.125 kB / 0.5695 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3817, allocations: 4 kB / 0.5695 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009729/0.3827, allocations: 333.7 kB / 0.5698 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.3834, allocations: 183.7 kB / 0.57 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005646/0.3891, allocations: 4.192 MB / 0.5741 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/0.3897, allocations: 43.95 kB / 0.5741 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.713e-05/0.3898, allocations: 43.97 kB / 0.5741 GB, free: 15.42 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.0004936/0.3903, allocations: 297.5 kB / 0.5744 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.3904, allocations: 63.62 kB / 0.5745 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.3932, allocations: 1.547 MB / 0.576 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.3932, allocations: 11.94 kB / 0.576 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.3932, allocations: 8 kB / 0.576 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.3932, allocations: 7.984 kB / 0.576 GB, free: 13.46 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.005084/0.3983, allocations: 3.016 MB / 0.579 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.3983, allocations: 12.05 kB / 0.579 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.399, allocations: 163.8 kB / 0.5791 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000815/0.3998, allocations: 284.5 kB / 0.5794 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.3999, allocations: 27.98 kB / 0.5794 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005509/0.4054, allocations: 3.911 MB / 0.5832 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.922e-06/0.4054, allocations: 11.94 kB / 0.5833 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.408, allocations: 1.587 MB / 0.5848 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.4083, allocations: 148.6 kB / 0.585 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.4083, allocations: 20 kB / 0.585 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.4088, allocations: 47.83 kB / 0.585 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.409, allocations: 80.84 kB / 0.5851 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.808e-05/0.4091, allocations: 43.92 kB / 0.5851 GB, free: 3.762 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003051/0.4094, allocations: 263.1 kB / 0.5854 GB, free: 3.508 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4094, allocations: 0 / 0.5854 GB, free: 3.508 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009819/0.4104, allocations: 304 kB / 0.5857 GB, free: 3.211 MB / 430.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.0001894/0.4106, allocations: 127.1 kB / 0.5858 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.4128, allocations: 1.33 MB / 0.5871 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4128, allocations: 4.562 kB / 0.5871 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.414, allocations: 0.7959 MB / 0.5879 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006718/0.4146, allocations: 112.4 kB / 0.588 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.4178, allocations: 1.816 MB / 0.5898 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007852/0.4186, allocations: 1.068 MB / 0.5908 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.419, allocations: 188.5 kB / 0.591 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.4192, allocations: 63.41 kB / 0.591 GB, free: 13.58 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4192, allocations: 0 / 0.591 GB, free: 13.58 MB / 446.1 MB Notification: Performance of Templates: time 0.01958/0.4388, allocations: 11.02 MB / 0.6018 GB, free: 2.566 MB / 446.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: 5.317241000942886]