Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.001483/0.001483, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001628/0.001628, allocations: 161.7 kB / 24.27 MB, free: 176 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.485/1.485, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3046/0.3046, allocations: 29.41 MB / 290.5 MB, free: 2.457 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.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.088e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009703/0.009734, allocations: 6.965 MB / 375.9 MB, free: 4.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007295/0.01703, allocations: 4.128 MB / 380 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005236/0.01755, allocations: 19.94 kB / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002971/0.02052, allocations: 1.012 MB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.02393, allocations: 1.322 MB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.02498, allocations: 358.6 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.02674, allocations: 1.433 MB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009506/0.02769, allocations: 0.5665 MB / 384.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.02897, allocations: 0.8566 MB / 385.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.03035, allocations: 0.7362 MB / 386.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.03048, allocations: 80 kB / 386.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.0332, allocations: 1.433 MB / 387.8 MB, free: 8.316 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006843/0.03388, allocations: 0.6469 MB / 388.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005513/0.03443, allocations: 411.1 kB / 388.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003072/0.0375, allocations: 1.99 MB / 390.8 MB, free: 5.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.03751, allocations: 0 / 390.8 MB, free: 5.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.03751, allocations: 4 kB / 390.8 MB, free: 5.266 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.03752, allocations: 0 / 390.8 MB, free: 5.266 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002199/0.03972, allocations: 1.276 MB / 392.1 MB, free: 3.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.03976, allocations: 15.98 kB / 392.1 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004233/0.044, allocations: 0.7842 MB / 392.9 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.04549, allocations: 0.5107 MB / 393.4 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-05/0.04557, allocations: 66.36 kB / 393.5 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.04575, allocations: 88.36 kB / 393.6 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.04845, allocations: 1.497 MB / 395.1 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.04848, allocations: 4.188 kB / 395.1 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.04859, allocations: 36.36 kB / 395.1 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/0.04873, allocations: 105.9 kB / 395.2 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.0514, allocations: 1.546 MB / 396.8 MB, free: 15.23 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 preOpt removeSimpleEquations (simulation): time 0.008641/0.06004, allocations: 4.224 MB / 401 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.06203, allocations: 1.09 MB / 402.1 MB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.06318, allocations: 0.6869 MB / 402.8 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.616e-05/0.06325, allocations: 21 kB / 402.8 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.06331, allocations: 47.55 kB / 402.8 MB, free: 8.996 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.186e-06/0.06331, allocations: 0 / 402.8 MB, free: 8.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.008747/0.07206, allocations: 3.56 MB / 406.4 MB, free: 5.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.07214, allocations: 86.11 kB / 406.5 MB, free: 5.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000651/0.07279, allocations: 477.6 kB / 406.9 MB, free: 4.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/0.07288, allocations: 45.73 kB / 407 MB, free: 4.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006208/0.0735, allocations: 444.6 kB / 407.4 MB, free: 4.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/0.07392, allocations: 380.7 kB / 407.8 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/0.07427, allocations: 198.9 kB / 408 MB, free: 3.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.07451, allocations: 390.8 kB / 408.4 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000943/0.07546, allocations: 0.5335 MB / 408.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.07662, allocations: 0.7578 MB / 409.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.07888, allocations: 1.4 MB / 411.1 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.07888, allocations: 4 kB / 411.1 MB, free: 0.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003598/0.08248, allocations: 1.837 MB / 412.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.0825, allocations: 4.5 kB / 412.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.08252, allocations: 15.94 kB / 412.9 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.08387, allocations: 422.3 kB / 413.3 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/0.08484, allocations: 235.6 kB / 413.6 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008567/0.0934, allocations: 5.66 MB / 419.2 MB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008438/0.09425, allocations: 63.92 kB / 419.3 MB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.09436, allocations: 47.98 kB / 419.3 MB, free: 8.039 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006487/0.095, allocations: 361.4 kB / 419.7 MB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.09523, allocations: 111.5 kB / 419.8 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/0.09885, allocations: 1.803 MB / 421.6 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.09887, allocations: 12 kB / 421.6 MB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.09888, allocations: 4 kB / 421.6 MB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.09889, allocations: 7.969 kB / 421.6 MB, free: 5.723 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.006543/0.1054, allocations: 3.06 MB / 424.7 MB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.1054, allocations: 4 kB / 424.7 MB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000813/0.1063, allocations: 187.7 kB / 424.9 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.1074, allocations: 365.6 kB / 425.2 MB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.219e-05/0.1075, allocations: 27.98 kB / 425.3 MB, free: 2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008186/0.1157, allocations: 5.435 MB / 430.7 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/0.1157, allocations: 7.984 kB / 430.7 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003491/0.1192, allocations: 1.857 MB / 432.6 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.1194, allocations: 83.52 kB / 432.6 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.1195, allocations: 27.94 kB / 432.7 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/0.12, allocations: 51.92 kB / 432.7 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.1203, allocations: 104.6 kB / 432.8 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.251e-05/0.1203, allocations: 32 kB / 432.8 MB, free: 10.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004491/0.1208, allocations: 323.1 kB / 433.2 MB, free: 9.824 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1208, allocations: 0 / 433.2 MB, free: 9.824 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001269/0.1221, allocations: 396 kB / 433.6 MB, free: 9.438 MB / 410.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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.0002209/0.1223, allocations: 131.1 kB / 433.7 MB, free: 9.301 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.1253, allocations: 1.679 MB / 435.4 MB, free: 7.605 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1253, allocations: 0 / 435.4 MB, free: 7.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.1274, allocations: 1.026 MB / 436.4 MB, free: 6.551 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/0.1283, allocations: 123.3 kB / 436.5 MB, free: 6.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.1328, allocations: 2.255 MB / 438.8 MB, free: 4.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009411/0.1338, allocations: 0.5717 MB / 439.3 MB, free: 3.492 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006096/0.1344, allocations: 237.3 kB / 439.6 MB, free: 3.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.1347, allocations: 68.48 kB / 439.6 MB, free: 3.191 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1347, allocations: 0 / 439.6 MB, free: 3.191 MB / 410.7 MB Notification: Performance of Templates: time 0.1584/0.2931, allocations: 12.75 MB / 452.4 MB, free: 107.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.411462201969698]