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.00107/0.00107, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00115/0.00115, allocations: 166.7 kB / 24.99 MB, free: 8.801 MB / 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.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.243/0.243, allocations: 29.42 MB / 291.2 MB, free: 2.504 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.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",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.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.929e-05, allocations: 6.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005702/0.005732, allocations: 7.694 MB / 377.3 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004179/0.009911, allocations: 4.708 MB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.01025, allocations: 23.88 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.01163, allocations: 1.101 MB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.01373, allocations: 1.295 MB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006941/0.01443, allocations: 374.5 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.01557, allocations: 1.5 MB / 386.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005579/0.01613, allocations: 0.5055 MB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009991/0.01713, allocations: 0.8488 MB / 387.7 MB, free: 9.199 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008617/0.01799, allocations: 0.7167 MB / 388.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.01807, allocations: 68 kB / 388.4 MB, free: 8.414 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.01987, allocations: 1.234 MB / 389.7 MB, free: 7.176 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000408/0.02028, allocations: 0.534 MB / 390.2 MB, free: 6.641 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003096/0.02059, allocations: 327.2 kB / 390.5 MB, free: 6.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.02242, allocations: 1.351 MB / 391.9 MB, free: 4.965 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.02242, allocations: 0 / 391.9 MB, free: 4.965 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.02242, allocations: 0 / 391.9 MB, free: 4.965 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.02244, allocations: 0 / 391.9 MB, free: 4.965 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.001275/0.02372, allocations: 1.224 MB / 393.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.02375, allocations: 15.98 kB / 393.1 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.02587, allocations: 0.5698 MB / 393.7 MB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.0264, allocations: 443.7 kB / 394.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.02644, allocations: 58.36 kB / 394.2 MB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.02654, allocations: 76.34 kB / 394.3 MB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.02763, allocations: 0.7281 MB / 395 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.02766, allocations: 192 / 395 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/0.02773, allocations: 32.36 kB / 395 MB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.509e-05/0.02782, allocations: 81.89 kB / 395.1 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.02883, allocations: 0.515 MB / 395.6 MB, free: 1.137 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/0.03257, allocations: 2.852 MB / 398.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.03365, allocations: 0.6172 MB / 399.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.03407, allocations: 278.2 kB / 399.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.03412, allocations: 21 kB / 399.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.03415, allocations: 46.33 kB / 399.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 4.078e-06/0.03416, allocations: 7.938 kB / 399.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.004304/0.03846, allocations: 1.939 MB / 401.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.03851, allocations: 90.11 kB / 401.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.03882, allocations: 390.8 kB / 401.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.03887, allocations: 41.7 kB / 401.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.03906, allocations: 391.6 kB / 402.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.03928, allocations: 333.1 kB / 402.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.0395, allocations: 172.2 kB / 402.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.03966, allocations: 0.543 MB / 403.3 MB, free: 9.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.03999, allocations: 181.9 kB / 403.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/0.04043, allocations: 335.4 kB / 403.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008156/0.04124, allocations: 0.555 MB / 404.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.04124, allocations: 0 / 404.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001484/0.04273, allocations: 0.8711 MB / 405.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.04275, allocations: 16.16 kB / 405.2 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.04276, allocations: 0 / 405.2 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007023/0.04346, allocations: 252.3 kB / 405.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.04397, allocations: 187.7 kB / 405.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.04728, allocations: 3.212 MB / 408.9 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.04766, allocations: 43.95 kB / 408.9 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.04772, allocations: 43.92 kB / 409 MB, free: 3.332 MB / 378.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.0002333/0.04796, allocations: 196.4 kB / 409.2 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.04809, allocations: 95.56 kB / 409.3 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.04965, allocations: 0.9099 MB / 410.2 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.04966, allocations: 12 kB / 410.2 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.04967, allocations: 4 kB / 410.2 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.04968, allocations: 3.984 kB / 410.2 MB, free: 2.098 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.002962/0.05264, allocations: 1.898 MB / 412.1 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.05265, allocations: 4 kB / 412.1 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.05309, allocations: 163.8 kB / 412.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000606/0.05369, allocations: 207.9 kB / 412.4 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/0.05376, allocations: 35.92 kB / 412.5 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003879/0.05764, allocations: 3.128 MB / 415.6 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.05764, allocations: 7.984 kB / 415.6 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.05934, allocations: 1.116 MB / 416.7 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.05947, allocations: 71.5 kB / 416.8 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.05955, allocations: 20 kB / 416.8 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.05991, allocations: 43.95 kB / 416.9 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.06007, allocations: 84.73 kB / 416.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.06014, allocations: 47.97 kB / 417 MB, free: 10.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002314/0.06037, allocations: 251.1 kB / 417.2 MB, free: 10.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.06037, allocations: 4 kB / 417.2 MB, free: 10.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001004/0.06138, allocations: 308 kB / 417.5 MB, free: 10.42 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.0001596/0.06154, allocations: 123.1 kB / 417.7 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.06291, allocations: 0.8974 MB / 418.6 MB, free: 9.371 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.06292, allocations: 0 / 418.6 MB, free: 9.371 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008253/0.06374, allocations: 0.6491 MB / 419.2 MB, free: 8.699 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.06436, allocations: 89.7 kB / 419.3 MB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.06721, allocations: 1.477 MB / 420.8 MB, free: 7.043 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.06749, allocations: 283.9 kB / 421.1 MB, free: 6.746 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003333/0.06782, allocations: 140.7 kB / 421.2 MB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.06799, allocations: 68.41 kB / 421.3 MB, free: 6.543 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/0.06799, allocations: 0 / 421.3 MB, free: 6.543 MB / 394.7 MB Notification: Performance of Templates: time 0.01606/0.08405, allocations: 10.43 MB / 431.7 MB, free: 12.18 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.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.590358024928719]