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.00101/0.00101, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001153/0.001153, allocations: 161 kB / 24.55 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.9707/0.9707, allocations: 177.1 MB / 205 MB, free: 5.242 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.2532/0.2532, allocations: 29.41 MB / 290.9 MB, free: 2.441 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_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.553e-06/1.553e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.913e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005439/0.005458, allocations: 6.744 MB / 376.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.008955, allocations: 3.209 MB / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.009198, allocations: 15.94 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009622/0.01016, allocations: 0.7197 MB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.01175, allocations: 1.213 MB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.01229, allocations: 322.8 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008833/0.01317, allocations: 1.402 MB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005486/0.01372, allocations: 0.5167 MB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009155/0.01464, allocations: 0.7905 MB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.0152, allocations: 0.6933 MB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.172e-05/0.01527, allocations: 64 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.01629, allocations: 1.114 MB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.01659, allocations: 0.5145 MB / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.01682, allocations: 323.3 kB / 387.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.01789, allocations: 1.281 MB / 388.6 MB, free: 8.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.01789, allocations: 0 / 388.6 MB, free: 8.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.01789, allocations: 0 / 388.6 MB, free: 8.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.0179, allocations: 0 / 388.6 MB, free: 8.02 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001019/0.01892, allocations: 1.182 MB / 389.7 MB, free: 6.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.01895, allocations: 11.98 kB / 389.7 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.02059, allocations: 0.5503 MB / 390.3 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.02103, allocations: 419.8 kB / 390.7 MB, free: 5.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.02107, allocations: 54.36 kB / 390.8 MB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/0.02115, allocations: 72.36 kB / 390.8 MB, free: 5.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.02221, allocations: 0.7008 MB / 391.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.02223, allocations: 192 / 391.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.02228, allocations: 40.34 kB / 391.6 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.545e-05/0.02235, allocations: 73.89 kB / 391.6 MB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006728/0.02302, allocations: 491.5 kB / 392.1 MB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.02568, allocations: 2.692 MB / 394.8 MB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007602/0.02644, allocations: 0.594 MB / 395.4 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.02676, allocations: 286.3 kB / 395.7 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.0268, allocations: 21 kB / 395.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.02683, allocations: 46.52 kB / 395.8 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 1.983e-06/0.02683, allocations: 0 / 395.8 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of matching and sorting (n=92): time 0.003043/0.02988, allocations: 1.876 MB / 397.6 MB, free: 14.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.02992, allocations: 94.05 kB / 397.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.03017, allocations: 382.7 kB / 398.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.03021, allocations: 41.64 kB / 398.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.03065, allocations: 367.7 kB / 398.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.03083, allocations: 337.2 kB / 398.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.031, allocations: 160.3 kB / 399 MB, free: 13.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.03116, allocations: 0.5508 MB / 399.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.03141, allocations: 173.9 kB / 399.7 MB, free: 12.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.03172, allocations: 323.7 kB / 400 MB, free: 12.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006104/0.03234, allocations: 0.5475 MB / 400.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.03234, allocations: 0 / 400.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001066/0.0334, allocations: 0.8633 MB / 401.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.03342, allocations: 8 kB / 401.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.03343, allocations: 7.984 kB / 401.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.03397, allocations: 252.5 kB / 401.7 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.03433, allocations: 175.7 kB / 401.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.0368, allocations: 3.226 MB / 405.1 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.03702, allocations: 47.89 kB / 405.1 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.03707, allocations: 39.98 kB / 405.2 MB, free: 6.871 MB / 378.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.0001589/0.03723, allocations: 204.4 kB / 405.4 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-05/0.03732, allocations: 95.64 kB / 405.5 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.03857, allocations: 0.9019 MB / 406.4 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.03858, allocations: 12 kB / 406.4 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.03858, allocations: 11.92 kB / 406.4 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.03859, allocations: 7.984 kB / 406.4 MB, free: 5.625 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.002166/0.04076, allocations: 1.894 MB / 408.3 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.04076, allocations: 4 kB / 408.3 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.04107, allocations: 167.7 kB / 408.5 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004121/0.04149, allocations: 211.8 kB / 408.7 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.04153, allocations: 27.92 kB / 408.7 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.04372, allocations: 3.118 MB / 411.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.04372, allocations: 4 kB / 411.8 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.04497, allocations: 1.131 MB / 412.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.04503, allocations: 67.59 kB / 413 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.04508, allocations: 24 kB / 413 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.04528, allocations: 43.97 kB / 413.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.04537, allocations: 92.62 kB / 413.2 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.04541, allocations: 35.98 kB / 413.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.04555, allocations: 247.1 kB / 413.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04555, allocations: 0 / 413.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005181/0.04607, allocations: 304 kB / 413.7 MB, free: 13.96 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.0001171/0.04618, allocations: 131 kB / 413.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009602/0.04715, allocations: 0.8936 MB / 414.8 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.04715, allocations: 0 / 414.8 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.04771, allocations: 0.6413 MB / 415.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.04812, allocations: 86.08 kB / 415.5 MB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.04992, allocations: 1.458 MB / 417 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.0501, allocations: 267.9 kB / 417.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.05032, allocations: 152.5 kB / 417.4 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.05046, allocations: 64.45 kB / 417.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.05046, allocations: 0 / 417.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of Templates: time 0.01146/0.06192, allocations: 10.47 MB / 427.9 MB, free: 15.71 MB / 410.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.4075666973367333]