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.001194/0.001194, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001209/0.001209, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 0.9534/0.9534, allocations: 177.1 MB / 206 MB, free: 4.512 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.1266/0.1266, allocations: 29.44 MB / 292 MB, free: 2.66 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.333e-06/1.333e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.924e-05, allocations: 3.062 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005395/0.005414, allocations: 6.915 MB / 377.8 MB, free: 25.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.009111, allocations: 3.396 MB / 381.2 MB, free: 21.99 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.009451, allocations: 23.88 kB / 381.2 MB, free: 21.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.01051, allocations: 0.7508 MB / 382 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.01448, allocations: 1.271 MB / 383.2 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.01518, allocations: 378.5 kB / 383.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.01626, allocations: 1.461 MB / 385.1 MB, free: 18.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.01679, allocations: 0.5133 MB / 385.6 MB, free: 17.58 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000793/0.01759, allocations: 0.8333 MB / 386.4 MB, free: 16.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007282/0.01831, allocations: 0.7128 MB / 387.1 MB, free: 16.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/0.01839, allocations: 64 kB / 387.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.01987, allocations: 1.203 MB / 388.4 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.02019, allocations: 0.5417 MB / 388.9 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.02046, allocations: 319.3 kB / 389.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.0219, allocations: 1.359 MB / 390.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.02191, allocations: 0 / 390.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02191, allocations: 4 kB / 390.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.02192, allocations: 0 / 390.6 MB, free: 12.54 MB / 314.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.001112/0.02303, allocations: 1.228 MB / 391.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.02306, allocations: 12.03 kB / 391.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.02497, allocations: 0.4918 MB / 392.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.02536, allocations: 419.7 kB / 392.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.02538, allocations: 54.36 kB / 392.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/0.02546, allocations: 72.36 kB / 392.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.02601, allocations: 0.6616 MB / 393.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.02603, allocations: 4.172 kB / 393.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.02607, allocations: 32.36 kB / 393.6 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.197e-05/0.02613, allocations: 81.89 kB / 393.7 MB, free: 9.398 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.02655, allocations: 417.4 kB / 394.1 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.02875, allocations: 2.665 MB / 396.7 MB, free: 6.242 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.02934, allocations: 0.5635 MB / 397.3 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.02953, allocations: 231.8 kB / 397.5 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.02957, allocations: 24.98 kB / 397.5 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.02959, allocations: 42.39 kB / 397.6 MB, free: 5.348 MB / 314.7 MB Notification: Performance of pre-optimization done (n=92): time 2.294e-06/0.02959, allocations: 4 kB / 397.6 MB, free: 5.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=93): time 0.002495/0.03209, allocations: 1.635 MB / 399.2 MB, free: 3.703 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.03211, allocations: 94.05 kB / 399.3 MB, free: 3.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.03226, allocations: 390.5 kB / 399.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.03229, allocations: 33.7 kB / 399.7 MB, free: 3.156 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.03238, allocations: 387.6 kB / 400.1 MB, free: 2.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.03252, allocations: 341 kB / 400.4 MB, free: 2.434 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.03265, allocations: 168.2 kB / 400.6 MB, free: 2.258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.03272, allocations: 0.5624 MB / 401.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.03286, allocations: 129.9 kB / 401.3 MB, free: 1.559 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.03305, allocations: 299.3 kB / 401.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.03342, allocations: 496.3 kB / 402.1 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.03342, allocations: 4 kB / 402.1 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.000862/0.03429, allocations: 0.7776 MB / 402.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.0343, allocations: 4 kB / 402.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.03431, allocations: 4 kB / 402.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004626/0.03477, allocations: 245.5 kB / 403.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.0351, allocations: 159.8 kB / 403.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.0374, allocations: 3.082 MB / 406.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.03761, allocations: 16 kB / 406.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.03765, allocations: 31.98 kB / 406.4 MB, free: 12.25 MB / 330.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.0001612/0.03781, allocations: 196.5 kB / 406.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.03791, allocations: 91.56 kB / 406.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009549/0.03886, allocations: 0.8278 MB / 407.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.03887, allocations: 12 kB / 407.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.03887, allocations: 4 kB / 407.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.03888, allocations: 3.984 kB / 407.5 MB, free: 11.1 MB / 330.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.001963/0.04084, allocations: 1.695 MB / 409.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.04085, allocations: 4.438 kB / 409.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.04114, allocations: 151.8 kB / 409.4 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/0.04156, allocations: 197.6 kB / 409.6 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.0416, allocations: 31.97 kB / 409.6 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.04384, allocations: 2.994 MB / 412.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.04384, allocations: 4 kB / 412.6 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.04491, allocations: 1.049 MB / 413.6 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.04499, allocations: 59.61 kB / 413.7 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.04504, allocations: 27.98 kB / 413.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.04523, allocations: 16 kB / 413.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.04535, allocations: 92.73 kB / 413.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.04539, allocations: 27.98 kB / 413.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.04553, allocations: 247 kB / 414.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04553, allocations: 0 / 414.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005792/0.04611, allocations: 308 kB / 414.4 MB, free: 3.914 MB / 330.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.0001282/0.04624, allocations: 127 kB / 414.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008212/0.04706, allocations: 0.8336 MB / 415.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.04706, allocations: 0 / 415.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.04757, allocations: 0.5946 MB / 415.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.04799, allocations: 104.3 kB / 416 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.04981, allocations: 1.464 MB / 417.5 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.05001, allocations: 275.9 kB / 417.8 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.05018, allocations: 72.81 kB / 417.9 MB, free: 300 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.05044, allocations: 162.2 kB / 418 MB, free: 136 kB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.05044, allocations: 0 / 418 MB, free: 136 kB / 330.7 MB Notification: Performance of Templates: time 0.01295/0.0634, allocations: 11.19 MB / 429.2 MB, free: 5.047 MB / 346.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.3592985388822854]