Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.00148/0.00148, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001665/0.001665, allocations: 165.3 kB / 24.26 MB, free: 152 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 1.471/1.471, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.293/0.293, allocations: 29.41 MB / 290.5 MB, free: 2.438 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.NetworkOpened,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.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,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.NetworkOpened") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 3.938 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.609e-05/3.811e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01071/0.01075, allocations: 7.191 MB / 376.1 MB, free: 4.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008005/0.01876, allocations: 4.381 MB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005857/0.01934, allocations: 19.94 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003054/0.0224, allocations: 1.082 MB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003634/0.02603, allocations: 1.298 MB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.02712, allocations: 370.7 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002018/0.02914, allocations: 1.496 MB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008672/0.03001, allocations: 0.5172 MB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.03143, allocations: 0.8449 MB / 386.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.0326, allocations: 0.7128 MB / 386.8 MB, free: 9.316 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.03272, allocations: 64 kB / 386.9 MB, free: 9.254 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.03527, allocations: 1.219 MB / 388.1 MB, free: 8.031 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006266/0.0359, allocations: 0.5299 MB / 388.6 MB, free: 7.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.03637, allocations: 327.3 kB / 388.9 MB, free: 7.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.03916, allocations: 1.62 MB / 390.5 MB, free: 5.555 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.03917, allocations: 4 kB / 390.5 MB, free: 5.551 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.03917, allocations: 0 / 390.5 MB, free: 5.551 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.03918, allocations: 0 / 390.5 MB, free: 5.551 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001937/0.04112, allocations: 1.105 MB / 391.6 MB, free: 4.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.04116, allocations: 11.98 kB / 391.7 MB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/0.04486, allocations: 0.601 MB / 392.3 MB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/0.04581, allocations: 452.9 kB / 392.7 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/0.04588, allocations: 58.36 kB / 392.8 MB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.04603, allocations: 72.36 kB / 392.8 MB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.04815, allocations: 1.231 MB / 394.1 MB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.04817, allocations: 192 / 394.1 MB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.04828, allocations: 32.36 kB / 394.1 MB, free: 1.914 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.0484, allocations: 81.89 kB / 394.2 MB, free: 1.832 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.05056, allocations: 1.304 MB / 395.5 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00625/0.05681, allocations: 3.288 MB / 398.8 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.05871, allocations: 1.011 MB / 399.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009136/0.05962, allocations: 0.5746 MB / 400.3 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/0.05969, allocations: 21 kB / 400.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.05974, allocations: 47.5 kB / 400.4 MB, free: 11.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 3.056e-06/0.05975, allocations: 0 / 400.4 MB, free: 11.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.007652/0.0674, allocations: 3.103 MB / 403.5 MB, free: 8.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.06748, allocations: 86.11 kB / 403.6 MB, free: 8.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.06796, allocations: 365.6 kB / 404 MB, free: 7.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.959e-05/0.06802, allocations: 37.7 kB / 404 MB, free: 7.848 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.06841, allocations: 340.8 kB / 404.3 MB, free: 7.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.06875, allocations: 325.1 kB / 404.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.06903, allocations: 162.6 kB / 404.8 MB, free: 7.023 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000251/0.06928, allocations: 374.7 kB / 405.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007543/0.07004, allocations: 465.7 kB / 405.6 MB, free: 6.195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008826/0.07092, allocations: 0.5743 MB / 406.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.07272, allocations: 1.118 MB / 407.3 MB, free: 4.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.07273, allocations: 0 / 407.3 MB, free: 4.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00292/0.07565, allocations: 1.501 MB / 408.8 MB, free: 2.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.07567, allocations: 7.938 kB / 408.8 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.07569, allocations: 4 kB / 408.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.07686, allocations: 357.6 kB / 409.2 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.07763, allocations: 179.7 kB / 409.4 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006194/0.08383, allocations: 3.894 MB / 413.3 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.08441, allocations: 51.94 kB / 413.3 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-05/0.08449, allocations: 39.92 kB / 413.3 MB, free: 14.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0004742/0.08497, allocations: 297.6 kB / 413.6 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.08516, allocations: 91.56 kB / 413.7 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/0.08825, allocations: 1.536 MB / 415.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.08826, allocations: 8 kB / 415.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.08827, allocations: 8 kB / 415.3 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.08829, allocations: 3.984 kB / 415.3 MB, free: 12.34 MB / 394.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.006338/0.09462, allocations: 2.661 MB / 417.9 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.09463, allocations: 4.438 kB / 417.9 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/0.09532, allocations: 163.8 kB / 418.1 MB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.09669, allocations: 284.6 kB / 418.4 MB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.192e-05/0.09677, allocations: 31.98 kB / 418.4 MB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006165/0.1029, allocations: 3.684 MB / 422.1 MB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.1029, allocations: 7.938 kB / 422.1 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/0.1062, allocations: 1.587 MB / 423.7 MB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.1064, allocations: 79.44 kB / 423.8 MB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.1065, allocations: 23.98 kB / 423.8 MB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.107, allocations: 39.97 kB / 423.8 MB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.1072, allocations: 88.72 kB / 423.9 MB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.793e-05/0.1073, allocations: 36 kB / 424 MB, free: 3.414 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003693/0.1077, allocations: 259.1 kB / 424.2 MB, free: 3.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1077, allocations: 0 / 424.2 MB, free: 3.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001157/0.1088, allocations: 308 kB / 424.5 MB, free: 2.863 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.000242/0.1091, allocations: 127 kB / 424.6 MB, free: 2.727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002973/0.1121, allocations: 1.334 MB / 426 MB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.1121, allocations: 0 / 426 MB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.1135, allocations: 0.7888 MB / 426.8 MB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008038/0.1143, allocations: 120.9 kB / 426.9 MB, free: 484 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.1181, allocations: 1.841 MB / 428.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/0.1189, allocations: 493.1 kB / 429.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005146/0.1194, allocations: 176.7 kB / 429.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.1197, allocations: 72.41 kB / 429.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1197, allocations: 0 / 429.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02167/0.1413, allocations: 10.35 MB / 439.8 MB, free: 3.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.360453150002286]