Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001062/0.001062, allocations: 81.97 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.001383/0.001383, allocations: 166.3 kB / 25.61 MB, free: 8.898 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.9734/0.9734, allocations: 177.1 MB / 206 MB, free: 4.5 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.1203/0.1203, allocations: 29.43 MB / 292 MB, free: 2.648 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.NetworkLoop_dq,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.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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.NetworkLoop_dq") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.629e-05, allocations: 5.609 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.004387/0.004404, allocations: 6.677 MB / 377.6 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.007285, allocations: 3.178 MB / 380.8 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.007548, allocations: 15.94 kB / 380.8 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000886/0.008434, allocations: 0.708 MB / 381.5 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.009942, allocations: 1.217 MB / 382.7 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.01039, allocations: 330.8 kB / 383 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008211/0.01122, allocations: 1.402 MB / 384.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.01168, allocations: 0.509 MB / 384.9 MB, free: 18.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00062/0.0123, allocations: 0.7983 MB / 385.7 MB, free: 17.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005131/0.01281, allocations: 0.6855 MB / 386.4 MB, free: 16.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.01286, allocations: 68 kB / 386.5 MB, free: 16.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.01387, allocations: 1.114 MB / 387.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.0141, allocations: 0.5183 MB / 388.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.01428, allocations: 319.3 kB / 388.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.01531, allocations: 1.281 MB / 389.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01532, allocations: 0 / 389.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01532, allocations: 0 / 389.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.01533, allocations: 0 / 389.7 MB, free: 13.45 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.0008884/0.01621, allocations: 1.193 MB / 390.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.01624, allocations: 12.03 kB / 390.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.01777, allocations: 471.7 kB / 391.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.01812, allocations: 395.8 kB / 391.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.01814, allocations: 58.34 kB / 391.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.01821, allocations: 72.36 kB / 391.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.01872, allocations: 0.6382 MB / 392.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.01874, allocations: 4.188 kB / 392.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.01878, allocations: 24.38 kB / 392.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/0.01883, allocations: 73.89 kB / 392.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.01923, allocations: 397.4 kB / 393 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.02121, allocations: 2.513 MB / 395.5 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.02172, allocations: 0.5551 MB / 396.1 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.02191, allocations: 234.3 kB / 396.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.02195, allocations: 21 kB / 396.3 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.02197, allocations: 46.39 kB / 396.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.294e-06/0.02197, allocations: 0 / 396.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=92): time 0.00227/0.02424, allocations: 1.573 MB / 397.9 MB, free: 4.988 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.02426, allocations: 86.11 kB / 398 MB, free: 4.883 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.02441, allocations: 386.5 kB / 398.4 MB, free: 4.492 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.02444, allocations: 41.7 kB / 398.4 MB, free: 4.445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.02454, allocations: 375.5 kB / 398.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.02467, allocations: 333.1 kB / 399.1 MB, free: 3.742 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.02479, allocations: 168.2 kB / 399.3 MB, free: 3.566 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.02486, allocations: 0.5507 MB / 399.9 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.025, allocations: 137.9 kB / 400 MB, free: 2.871 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.02518, allocations: 283.7 kB / 400.3 MB, free: 2.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.02555, allocations: 480.5 kB / 400.7 MB, free: 2.043 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.02555, allocations: 4 kB / 400.7 MB, free: 2.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007718/0.02632, allocations: 0.7657 MB / 401.5 MB, free: 1.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.02634, allocations: 8 kB / 401.5 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.02634, allocations: 4.094 kB / 401.5 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.02676, allocations: 241.5 kB / 401.8 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.02713, allocations: 159.8 kB / 401.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.02937, allocations: 3.074 MB / 405 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.02958, allocations: 24 kB / 405 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.02962, allocations: 27.98 kB / 405 MB, free: 13.61 MB / 330.7 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.0001806/0.0298, allocations: 208.3 kB / 405.2 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.02994, allocations: 91.55 kB / 405.3 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009729/0.03092, allocations: 0.82 MB / 406.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.03092, allocations: 12 kB / 406.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.03093, allocations: 4 kB / 406.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.03094, allocations: 7.922 kB / 406.2 MB, free: 12.46 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.002045/0.03298, allocations: 1.687 MB / 407.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.03299, allocations: 4 kB / 407.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.03329, allocations: 151.8 kB / 408 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003884/0.03368, allocations: 202.1 kB / 408.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.03372, allocations: 23.98 kB / 408.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.03584, allocations: 3.001 MB / 411.2 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.03585, allocations: 7.938 kB / 411.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009342/0.03678, allocations: 1.057 MB / 412.3 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.03684, allocations: 63.55 kB / 412.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.0369, allocations: 31.97 kB / 412.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.03709, allocations: 23.94 kB / 412.4 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.006e-05/0.03718, allocations: 84.78 kB / 412.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.03721, allocations: 24 kB / 412.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.03733, allocations: 243 kB / 412.8 MB, free: 5.566 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03733, allocations: 0 / 412.8 MB, free: 5.566 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005592/0.03789, allocations: 304 kB / 413.1 MB, free: 5.27 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.0001179/0.03801, allocations: 131.1 kB / 413.2 MB, free: 5.133 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007946/0.0388, allocations: 0.8266 MB / 414 MB, free: 4.289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.0388, allocations: 4 kB / 414 MB, free: 4.285 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.03929, allocations: 0.6025 MB / 414.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.0397, allocations: 96.62 kB / 414.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.04138, allocations: 1.435 MB / 416.1 MB, free: 2.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.04157, allocations: 271.8 kB / 416.4 MB, free: 1.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.04173, allocations: 64.73 kB / 416.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.04193, allocations: 166.2 kB / 416.6 MB, free: 1.52 MB / 330.7 MB Notification: Performance of SimCode: time 6.32e-07/0.04194, allocations: 0 / 416.6 MB, free: 1.52 MB / 330.7 MB Notification: Performance of Templates: time 0.01189/0.05383, allocations: 11.23 MB / 427.9 MB, free: 6.402 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.295736919157207]