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.0009736/0.0009736, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009717/0.0009717, allocations: 161 kB / 24.56 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.9981/0.9981, allocations: 177.1 MB / 205 MB, free: 5.59 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.2601/0.2601, allocations: 29.42 MB / 290.9 MB, free: 2.496 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 1.914e-06/1.914e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.079e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.00595/0.005981, allocations: 6.996 MB / 376.6 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.01001, allocations: 3.45 MB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000384/0.01039, allocations: 15.94 kB / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.01152, allocations: 0.7704 MB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.01372, allocations: 1.271 MB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008029/0.01452, allocations: 370.6 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.01597, allocations: 1.468 MB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006884/0.01665, allocations: 0.5094 MB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.01771, allocations: 0.8294 MB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000916/0.01863, allocations: 0.7129 MB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.01873, allocations: 64 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.02074, allocations: 1.203 MB / 387.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004028/0.02114, allocations: 0.5378 MB / 387.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.02145, allocations: 323.3 kB / 388.1 MB, free: 8.418 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.02332, allocations: 1.351 MB / 389.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.02332, allocations: 0 / 389.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.02333, allocations: 4 kB / 389.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.02334, allocations: 3.938 kB / 389.5 MB, free: 7.055 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.001292/0.02463, allocations: 1.22 MB / 390.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.02467, allocations: 15.98 kB / 390.7 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.0265, allocations: 0.5737 MB / 391.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/0.02711, allocations: 439.7 kB / 391.7 MB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.02715, allocations: 54.36 kB / 391.8 MB, free: 4.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/0.02724, allocations: 76.36 kB / 391.9 MB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008436/0.02808, allocations: 0.732 MB / 392.6 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.02811, allocations: 4.188 kB / 392.6 MB, free: 3.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.02815, allocations: 28.36 kB / 392.6 MB, free: 3.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-05/0.02822, allocations: 81.89 kB / 392.7 MB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007525/0.02898, allocations: 0.5189 MB / 393.2 MB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/0.03213, allocations: 2.852 MB / 396.1 MB, free: 284 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/0.03299, allocations: 0.6225 MB / 396.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.03332, allocations: 285.5 kB / 397 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.03336, allocations: 17 kB / 397 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.03339, allocations: 50.33 kB / 397 MB, free: 15.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 2.625e-06/0.03339, allocations: 0 / 397 MB, free: 15.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.003263/0.03666, allocations: 1.939 MB / 399 MB, free: 13.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.0367, allocations: 86.11 kB / 399.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.03696, allocations: 394.6 kB / 399.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.037, allocations: 41.7 kB / 399.5 MB, free: 12.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.03716, allocations: 391.6 kB / 399.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.03736, allocations: 337.1 kB / 400.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.03753, allocations: 168.3 kB / 400.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.03768, allocations: 0.5508 MB / 400.9 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.03795, allocations: 177.9 kB / 401.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.03844, allocations: 335.3 kB / 401.4 MB, free: 10.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.03907, allocations: 0.5628 MB / 402 MB, free: 10.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.03908, allocations: 0 / 402 MB, free: 10.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001152/0.04023, allocations: 0.8711 MB / 402.9 MB, free: 9.277 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.04025, allocations: 7.938 kB / 402.9 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.04026, allocations: 4 kB / 402.9 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005826/0.04084, allocations: 251.7 kB / 403.1 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.04123, allocations: 179.8 kB / 403.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.0439, allocations: 3.215 MB / 406.5 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.04419, allocations: 43.95 kB / 406.5 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.04424, allocations: 44.02 kB / 406.6 MB, free: 5.422 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.0001974/0.04444, allocations: 204.3 kB / 406.8 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.734e-05/0.04454, allocations: 99.55 kB / 406.9 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.04572, allocations: 0.8943 MB / 407.8 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.04573, allocations: 8 kB / 407.8 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.04575, allocations: 12 kB / 407.8 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.04576, allocations: 11.86 kB / 407.8 MB, free: 4.18 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.002931/0.04869, allocations: 1.898 MB / 409.7 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.0487, allocations: 4 kB / 409.7 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.04905, allocations: 167.8 kB / 409.9 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005497/0.0496, allocations: 207.9 kB / 410.1 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/0.04967, allocations: 23.98 kB / 410.1 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/0.05237, allocations: 3.118 MB / 413.2 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.05238, allocations: 4 kB / 413.2 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.05359, allocations: 1.128 MB / 414.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.05371, allocations: 79.44 kB / 414.4 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.05377, allocations: 20 kB / 414.4 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.05399, allocations: 43.95 kB / 414.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.0541, allocations: 84.73 kB / 414.6 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/0.05416, allocations: 35.98 kB / 414.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.05434, allocations: 251.1 kB / 414.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05434, allocations: 0 / 414.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007485/0.05509, allocations: 312 kB / 415.2 MB, free: 12.51 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.0001534/0.05524, allocations: 127.1 kB / 415.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.05653, allocations: 0.9014 MB / 416.2 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.05653, allocations: 0 / 416.2 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006144/0.05714, allocations: 0.6336 MB / 416.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.05757, allocations: 97.45 kB / 416.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.05971, allocations: 1.492 MB / 418.4 MB, free: 9.121 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.05993, allocations: 267.9 kB / 418.7 MB, free: 8.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.06017, allocations: 148.7 kB / 418.8 MB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.0603, allocations: 60.47 kB / 418.9 MB, free: 8.637 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/0.0603, allocations: 0 / 418.9 MB, free: 8.637 MB / 394.7 MB Notification: Performance of Templates: time 0.01253/0.07284, allocations: 10.43 MB / 429.3 MB, free: 14.27 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.6065016048960388]